LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview, Matlab and ata types

I'm using a matlab code within a labview (6.1) code by mean of the
"matlab scipt".
The problem is that I'm trying to pass the path of a file from labview
to the matlab script so that matlab can open it and work with its
data.
It seems that matlab script can only accept in input numbers (of any
kind, but numbers) and not strings.
Has anybody found a way to solve this problem?

I could import those files from labview and then pass the data to the
matlab script, but in geenral the problem remains that one cannot pass
strings to matlab.


Thanks for your help!

- Riccardo
0 Kudos
Message 1 of 2
(2,466 Views)
Hi Riccardo
Every string can be represented as a array of bytes. Do the conversion and pass the vector to MAtlab. In MAtlab string change it again to string.

hope it helps.
Pawel
Message 2 of 2
(2,466 Views)