[Scilab-Dev] list as output in function call

Stéphane Mottelet stephane.mottelet at utc.fr
Tue Apr 23 22:14:11 CEST 2019


Hello all,

After seeing this question on stackoverflow

https://stackoverflow.com/questions/55757856/ndgrid-input-and-output-from-cell-array

I realized that the current features of Scilab are quite asymmetric 
w.r.t. the use of an "expanded" list as input, which is supported, as in

x = list(1:2,1:2,1:2)
ndgrid(x(:))

and as output, which is not supported, as in

X = list(,,)
X(:) = ndgrid(x(:))

Would it be complicated to implement the above ?

S.




More information about the dev mailing list