ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a Matlab Program within Labview

Hi

I saw in this forum that many users are using some matlab program executed in Labview program. I have actually Labview 7.1 and would like to use some of my matlab program in Labview. Is there an easy way to do it ?

Thanks
Thomas
0 Kudos
Message 1 of 4
(2,869 Views)
There is a "matlab script.vi" ,just put it on your block diagram,and add some input and output variable,then you can make matlab program just like what you did in matlab m-file editor.  
0 Kudos
Message 2 of 4
(2,861 Views)
The MATLAB Script function is kinda buried in the function palette, and can be found under Functions >> Analyze >> Mathematics >> Formula.  Unfortunately this feature is not available in the LabVIEW Base package.  Hope this helps!

Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 3 of 4
(2,841 Views)
Thanks for help. I found the script with difficulty in the palette (the path is not written in the help) but it seems to work fine, at least for simple programs.

Thomas
0 Kudos
Message 4 of 4
(2,837 Views)