LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the best way to integrate Matlab functions with Labview?

I have couples of .m functions to process the data from the DAQmx from NI. But these .m functions use cell arrays and n-dimensional arrays, which are not supported in the current Mathscript node. Which is the best way to integrate them with labview? I saw lots of people have difficulty to generate .dll from .m functions and use them in Labview?

Please give me some suggestions, thanks in advance.
0 Kudos
Message 1 of 2
(2,256 Views)

Well, if you have Matlab and LabVIEW installed in the same machine, you can use the Matlab Script Node. It connects to Matlab and you can just use your m-file inside the node as you'd in Matlab. You can find this node in the pallette going to Mathematics >> Script and Formula >>  Formula Nodes >> Matlab Script Nodes.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 2
(2,243 Views)