Dear all.
I need to call a matlab file (.m) from idl. I know IDL can host the MATLAB COM object. For example: oMatlab = obj_new('IDLcomIDispatch$ProgId$Matlab_application_6') ;test in IDL6.2 with Matlab6.5
But I don’t know how to pass variable value and return value between IDL and MATLAB, and how to execute a matlab file (.m) in IDL.
Furthermore, can you tell me how to use Call_external function call a matlab file (.m) in IDL.
Would you like to give me some example codes?
Thanks for your help!
Best regards!
|