There is no "bridge" functionality between IDL and Matlab, unfortunately. If you want launch Matlab from within IDL, use SPAWN and call "matlab.exe". The command line options available for that should be documented somewhere by MathWorks. You cannot directly pass IDL variables into Matlab as they are separate processes and do not share the same memory space. The simplest (and probably best) option for this is to write the IDL variables to a file, then read in the file within your Matlab code.
|