LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

linking between matlab and labview

Hello,

 

How can I link LabVIEW 8.2 with Matlab?

0 Kudos
Message 1 of 10
(7,822 Views)

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??

0 Kudos
Message 2 of 10
(7,816 Views)

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

0 Kudos
Message 3 of 10
(7,790 Views)
Then I am stuck in Labview I always go help. Then I select find examples and search for the topic. I your case searching for say matlab should do wonders. While you are in the help menu enable Show context Help. Do not be afraid to use the detailed help option 


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 10
(7,784 Views)

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

LabVIEW 2012
0 Kudos
Message 5 of 10
(7,775 Views)

Hello,

 

How can I install Matlab node to link between matlab and labview???

0 Kudos
Message 6 of 10
(7,735 Views)

Hi Monireh,

 

I believe if you have the Full Development system or better, you can find the MATLAB script node at Mathematics»Scripts & Formulas

0 Kudos
Message 7 of 10
(7,717 Views)

I'm researching Labview and I wonder it's possible to link Labview to Simulink in Matlab? Please give me some advices.

0 Kudos
Message 8 of 10
(7,441 Views)

Did you do a search for 'simulink'? You would have found this.

0 Kudos
Message 9 of 10
(7,426 Views)