Re: MATLAB to IDL Conversion [message #94711 is a reply to message #88298] |
Fri, 01 September 2017 09:47  |
Sahar Dehnavi
Messages: 4 Registered: May 2017
|
Junior Member |
|
|
On Wednesday, April 9, 2014 at 1:59:56 AM UTC+2, Chris Torrence wrote:
> On Tuesday, April 8, 2014 2:13:37 PM UTC-6, mikejoh...@gmail.com wrote:
>> I was wondering, is there a simple way to convert a code from MATLAB to IDL? I am trying to run a previously written MATLAB script to create a 3d anaglyph from two images in FreeMat, but it is very slow. I've recently received a temporary license for IDL 8.3, which I would love to replicate this code in, as I believe both languages are capable of doing this.
>>
>>
>>
>> But since I am still very unfamiliar with IDL I am having difficulty doing so. Any advice/help for converting this would be fantastic!
>
> Well, you could download the following tool, and reverse engineer it:
> http://sourceforge.net/projects/idl2matlab/
>
> I don't understand why they chose IDL -> Matlab, as *clearly* you would always want to go the other direction, just as you propose.
>
> Your main things to watch out for are the "backwards" arrays in Matlab - they use row-major ordering instead of IDL's column-major. Some google searches will help you out here.
>
> Good luck!
> -Chris
Hi all,
I have downloaded and installed the matlab2IDL from the sourceforge however, I have a problem that I do not know how can I use the toolbox to convert my idl codes into matlab .m-files.
I would appreciate any help that you can provide.
All the best,
Sahar
|
|
|