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 LabVIEW to run the MATLAB code?

Hi all,

I want to use LabVIEW to collect real-time data. And use the existing MATLAB code to process the data and then display the results on LabVIEW. But I found that Mathscript node can’t support MATLAB toolbox, such as image processing toolbox or robotic toolbox. So, how can I kind of connecting LabVIEW and MATLAB? Or can I use MATLAB code as the external function and have LabVIEW to call it? please let me know:(((

0 Kudos
Message 1 of 2
(1,508 Views)

Hi jiawaichen,

 


@jiawaichen77 wrote:

And use the existing MATLAB code to process the data and then display the results on LabVIEW. But I found that Mathscript node can’t support MATLAB toolbox, such as image processing toolbox or robotic toolbox. So, how can I kind of connecting LabVIEW and MATLAB?


Have you tried the Matlab script node?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,472 Views)