02-18-2010 11:11 AM
Hello,
How can I link LabVIEW 8.2 with Matlab?
02-18-2010 11:20 AM
What do you mean link? Do you mean call MATLAB functions from LabVIEW? If this is the case, you can use either a MATLAB node or mathscript node. As far as I know, the MATLAB node comes with LabVIEW but in order to use it you have to have MATLAB on that computer. The mathscript node can only be used if you have a LabVIEW license that supports it. If you do (and don't have MATLAB on your computer), then that is what you want to use. However, it will not necessarily work with all MATLAB functions. The MATLAB node will(again, must have MATLAB installed).
Someone correct me if I'm wrong...and have I confused you yet??
02-19-2010 12:37 AM
Actually i wrote a program by matlab and i want to link this to labview;
i was wondering if you can please tell me how to do this task.
looking forward to hearing from you
02-19-2010 02:16 AM
02-19-2010 02:43 AM
Monireh
For(Imstuck) has told you correctly two ways of using matlab code within LabVIEW.
With both methods you paste your matlab code into a node and it will execute said code. The way it executes differs as follows.
Matlab node - Talks to matlab (If installed on your machine) and gets matlab to execute the script and return results.
Mathscript node - Passes the script to a parser written in LabVIEW and uses LabVIEW primitives to execute the script functions.
Third option although not nearly as nice, is running the script from the command prompt using "matlab -r myscript.m" and getting the results back from a file.
As coq rouge stated, there is some nice examples if you search the help!!
Have fun!
Craig
02-25-2010 02:59 AM
Hello,
How can I install Matlab node to link between matlab and labview???
02-25-2010 04:29 PM
Hi Monireh,
I believe if you have the Full Development system or better, you can find the MATLAB script node at Mathematics»Scripts & Formulas
01-02-2011 01:40 PM
I'm researching Labview and I wonder it's possible to link Labview to Simulink in Matlab? Please give me some advices.
01-02-2011 02:25 PM
Did you do a search for 'simulink'? You would have found this.
07-12-2012 09:31 AM