Scilab 5.3.3
Scilab help >> Data Structures > definedfields
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
- list — Scilab object and list function definition
- tlist — Scilab object and typed list definition.
- mlist — Scilab object, matrix oriented typed list definition.
- insertion — partial variable assignation or modification
- extraction — matrix and list entry extraction
| << cell | Data Structures | fieldnames >> |