LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab script to string in Labview

Hi guys,

 

We have a Matlab script that we want to execute from LabVIEW. We used a "Matlab script" from the script nodes. However, we need to create a string of the Matlab script, with all the text from the Matlab programm. How can we do that?

Thank you!

 

C&L

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

Is your Matlab Program in an "m-file"?  Those are simply text files with a .m extension, which you should just be able to read using Read Text File and specifying the path to the m-file.

 

Bob Schor

0 Kudos
Message 2 of 2
(2,209 Views)