comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » MATLAB to IDL Conversion
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: MATLAB to IDL Conversion [message #88298 is a reply to message #88295] Tue, 08 April 2014 16:59 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: update vert_colors of new graphics
Next Topic: histogram and color bar

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:54:14 PDT 2025

Total time taken to generate the page: 0.00339 seconds