Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
typeof
object type
Calling Sequence
[t]=typeof(object)
Arguments
- object
a Scilab object
- t
a string
Description
t=typeof(object)
returns one of the following
strings:
- "constant"
if
object
is a real or complex matrix of double.- "polynomial"
if
object
is a polynomial matrix.- "function"
- "handle"
if
object
is an handle.- "string"
if
object
is a matrix made of character strings.- "boolean"
if
object
is a boolean matrix.- "list"
if
object
is a list.- "rational"
if
object
is a rational matrix (transfer matrix).- "state-space"
if
object
is a state-space model (see syslin).- "sparse"
if
object
is a (real) sparse matrix.- "boolean sparse"
if
object
is a boolean sparse matrix.- "hypermat"
if
object
is a hypermatrix (N
-dimension array withN<=3
.- "st"
if
object
is a structure.- "ce"
if
object
is a cell array.- "fptr"
if
object
is a built-in Scilab function, called also gateway (C, C++ or Fortran code).- "pointer"
if
object
is a pointer (See an use case: lufact).- "size implicit"
if
object
is a size implicit polynomial used for indexing. This a purely internal value.- "library"
if
object
is a function library.- "int8" or "uint8" or "int16" or "uint16" or "int32" or "uint32"
if
object
is a matrix of [unsigned] integers stored on 8, 16 or 32 bits. (See int)
Examples
See Also
Report an issue | ||
<< isfield | Structures | Parameters >> |