ncomps(Str) where Str is a structure |
ncomps(Str) returns the number of components in structure Str. It is an error if Str is not a structure. Example: Cmd> ncomps(describe(run(10))) # describe has structure result (1) 8 See also topics ndims(), dim(), length(), isstruc(), describe(), 'structures'.