From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(5,951 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
(5,938 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
(5,936 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
(5,932 Views)

hi, you were right thanks

0 Kudos
Message 5 of 5
(5,923 Views)