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 do I do RT MATLAB without making a .DLL?

I would like to run a MATLAB script on an RT VI without creating a DLL. I realize this probably means running another VI (using MATLAB) on the PC, then dumping the MATLAB graph results across the ethernet connection to the RT controller.

Is this possible? What kind of communication mechanisms are available in LabVIEW to do this?
0 Kudos
Message 1 of 2
(2,261 Views)
Hello,

MATLAB Scripts are not supported in RT so you will have to do what you suggested: Create a vi that performs all the necessary MATLAB operations and then exports that data to the RT controller. I would recommend TCP/IP communication to transfer this data. Have a great day.

Danny G.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,261 Views)