X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Oct 2009 08:12 PM by  anon
how to call a matlab file(.m) in IDL?
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
11 Oct 2009 08:12 PM
    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!

    Deleted User



    New Member


    Posts:
    New Member


    --
    27 Oct 2009 06:03 PM
    Hi there, Could the following section of the IDL Help be of any help to you?: IDL Programmers' Guides > IDL Connectivity Bridges > Part I: Importing into IDL > Using COM Objects in IDL > Example: RSIDemoComponent This example should give you and idea of how to call a COM component from and IDL code. You can also see the example code (IDispatchDemo.pro). Cheers, Fernando  

    Deleted User



    New Member


    Posts:
    New Member


    --
    18 Jan 2010 07:54 PM
    thanks for your help!
    You are not authorized to post a reply.