LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

matlabscript node copy just first value of an array

HI everyone

I'm having some trouble whit the matlabscript node. 

Right now the worst one is that I have several output that are array and defined so, that are arrays in matlab (in the variable editor show so) but when I pass them out of matlabscript labview transfer only the first value ( that means if I place a probe just outside the matlab script output I see a single value a non an array and that value is the first):( anybody know why? 

Another point I need to make the interaction between matlab and labview the fastest possible, what can I do?

Thank

P.s. I can't post the matlab code but I add the vi 🙂

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

Possibility, Matlab returns a column vector and you specify a row vector in LabVIEW. Then, only the first element is returned.

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