Scilab 5.3.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
definedfields
return index of list's defined fields
Calling Sequence
k=definedfields(l)
Arguments
- l
a list , tlist or mlist variable.
- k
a vector of index.
Description
If l
is a list
tlist
mlist
k=definedfields(l)
returns in
k
the indices of the defined list fields. This
function is useful because indexing undefined fields produces an
error.
Examples
See Also
<< cell | Data Structures | fieldnames >> |