LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strings into Labview Matlab script boxes

I'm trying to incorporate a Matlab script into a LabVIEW program. In the
Matlab script I need to load a data file (which name changes). Also, I'd
like the user to be able to input a title into the resulting graphs from
the Matlab file. The variable inputs into the Matlab script box are limited
to numerical types. I need to use a path and a string control from the front
panel that acts as a variable input into the Matlab script. How can this
be accomplished?
0 Kudos
Message 1 of 2
(2,692 Views)
You can write the title in a file.
And then read the file in Matlab to get
the title name.

This is a stupid way. But there seems
be no better.


"JesseB" wrote:
>>I'm trying to incorporate a Matlab script into a LabVIEW program. In the>Matlab
script I need to load a data file (which name changes). Also, I'd>like the
user to be able to input a title into the resulting graphs from>the Matlab
file. The variable inputs into the Matlab script box are limited>to numerical
types. I need to use a path and a string control from the front>panel that
acts as a variable input into the Matlab script. How can this>be accomplished?
0 Kudos
Message 2 of 2
(2,692 Views)