Scilab 5.3.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.
Examples
See Also
- extraction — matrix and list entry extraction
- getfield — list field extraction
- tlist — Scilab object and typed list definition.
- mlist — Scilab object, matrix oriented typed list definition.
- struct — create a struct
<< definedfields | Data Structures | getfield >> |