Please note that the recommended version of Scilab is 2026.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
objectis a real or complex matrix of double.- "polynomial"
if
objectis a polynomial matrix.- "function"
- "handle"
if
objectis an handle.- "string"
if
objectis a matrix made of character strings.- "boolean"
if
objectis a boolean matrix.- "list"
if
objectis a list.- "rational"
if
objectis a rational matrix (transfer matrix).- "state-space"
if
objectis a state-space model (see syslin).- "sparse"
if
objectis a (real) sparse matrix.- "boolean sparse"
if
objectis a boolean sparse matrix.- "hypermat"
if
objectis a hypermatrix (N-dimension array withN<=3.- "st"
if
objectis a structure.- "ce"
if
objectis a cell array.- "fptr"
if
objectis a built-in Scilab function, called also gateway (C, C++ or Fortran code).- "pointer"
if
objectis a pointer (See an use case: lufact).- "size implicit"
if
objectis a size implicit polynomial used for indexing. This a purely internal value.- "library"
if
objectis a function library.- "int8" or "uint8" or "int16" or "uint16" or "int32" or "uint32"
if
objectis a matrix of [unsigned] integers stored on 8, 16 or 32 bits. (See int)
![]() |
Examples
See Also
| Report an issue | ||
| << typename | Data Structures | Parameters >> |
