Scilab 5.5.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
fieldnames
get a tlist, mlist or struct fields names
Calling Sequence
f = fieldnames(lst)
Arguments
- lst
A tlist, mlist or struct variable.
- f
Strings column vector of fields names.
Description
The fieldnames
function returns field names
of a tlist
, mlist
or struct
. fieldnames
does not work on cells.
As said in rational or syslin help pages, internal representation of
some Scilab objects is a tlist (or rlist), so using fieldnames
with them will return the generic forms of these objects.
For example, for rationals, the function will return "num","den" and "dt".
Examples
See Also
- extraction — extração de entradas de matrizes e listas
- getfield — extração de campos de listas
- tlist — objeto do Scilab e definição de listas com tipos ("typed lists")
- mlist — objeto Scilab, definição de listas com tipos orientadas matricialmente
- struct — criando um struct (estrutura)
Report an issue | ||
<< typeof | Estruturas de Dados | isfield >> |