LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

does the command size from matlab is supported in labview mathscript

hi, im using the labview mathscript and i want to create my own function, my code has the command []=size();

when i run the script in the window labview mathscript it shows the error "expecting EOF, found '['" in the

line where i have the command size

 

Can somebody help me?

 

grettings

 

 

0 Kudos
Message 1 of 5
(6,056 Views)
Hi, What do you want for run command []=size()? Usually, you should use c = size(a) or [m, n] = size(a). http://zone.ni.com/reference/en-XX/help/373123C-01/lvtextmath/msfunc_size/
0 Kudos
Message 2 of 5
(6,043 Views)

hi, yes i already saw that link, i tried on:  [m,N,ntrials]= size(X)

and i cant see the mistake

0 Kudos
Message 3 of 5
(6,041 Views)

Hi,

 

Currently, MathScript does not support mulit-dimensional array. That is to say, size can have two outputs at most.

0 Kudos
Message 4 of 5
(6,037 Views)

hi, you were right thanks

0 Kudos
Message 5 of 5
(6,028 Views)