From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,004 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
(968 Views)