Check if a variable is a structure array (original) (raw)
Scilab 5.3.3
- Scilab help
- Data Structures
- cell
- definedfields
- fieldnames
- getfield
- hypermat
- hypermatrices
- iscell
- iscellstr
- isfield
- isstruct
- list
- lsslist
- lstcat
- mlist
- rlist
- setfield
- struct
- tlist
Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function
Scilab help >> Data Structures > isstruct
isstruct
Check if a variable is a structure array
Calling Sequence
Arguments
x
Scilab variable
bool
A boolean
Description
isstruct(x) returns true if x is a struct array and false otherwise.
Examples
isstruct(1)
isstruct(cell())
isstruct(struct("name","Scilab", "version", getversion()))
info.name="Scilab"; info.function="isstruct"; info.module="help"; isstruct(info)