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

Home » Public Forums » archive » idl2matlab translate-o-matic
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: IDL2MATLAB [message #29478 is a reply to message #19024] Tue, 26 February 2002 08:35 Go to previous messageGo to previous message
notspecified is currently offline  notspecified
Messages: 14
Registered: February 2002
Junior Member
On Tue, 26 Feb 2002 10:41:07 -0500, James Kuyper
<kuyper@gscmail.gsfc.nasa.gov> wrote:

> Matt Feinstein wrote:
>
>> On 26 Feb 2002 05:02:19 -0800, the_cacc@hotmail.com (trouble) wrote:
>>
>>
>>> A long shot: is there an IDL to MATLAB source code translator out there ?
>>
>>
>> A long shot indeed. In fact, the basic syntactical aspect of such a
>> translation would be pretty trivial (except, I guess, for
>> vectorization). Unfortunately for would-be translators, most of the
>> real work in IDL and MATLAB is done by built-in functions and
>> procedures & there's no general way of doing that kind of translation.
>
> Knowing nothing about MATLAB, I'd naively expect that there should still
> be a general approach for dealing with that problem: emulation. Create a
> library of MATLAB functions and procedures (or whatever MATLAB feature
> is a good substitute for a function or procedure) that emulate the
> capabilities of IDL's built-ins.
>

Well, maybe so-- bearing in mind that both MATLAB and IDL probably
have around a thousand documented functions, completely different
graphics/GUI models, different memory models (MATLAB has no pointers
or heap variables), etc.-- I suppose you could emulate both IDL and
MATLAB with Turing Machines... Hmm.

In any event, my opinion is that the practical answer to the great
majority of IDL<->MATLAB programming questions is that the code needs
to be rewritten-- and that the sooner one realizes that rewriting the
code is actually the easy way of making a translation, the better.

Matt Feinstein does not include his email address
in the text of usenet postings.
--------
Harvard Law of Automotive Repair: Anything that goes away
by itself will come back by itself.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: running different IDL versions simultaneously
Next Topic: voxel_proj and seg fault

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

Current Time: Fri Oct 10 07:07:30 PDT 2025

Total time taken to generate the page: 1.36494 seconds