Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
ndims (Matlab function)
Number of array dimensions
There is no Scilab equivalent function for ndims(A) but it can be emuled by: size(size(A),"*").