- Manual Scilab
- API Scilab
- Scilab Gateway API
- How to
- CheckColumn
- CheckDimProp
- CheckDims
- CheckLength
- CheckLhs
- CheckRhs
- CheckRow
- CheckSameDims
- CheckScalar
- CheckSquare
- CheckVector
- CreateListVarFrom
- CreateListVarFromPtr
- CreateVar
- FindOpt
- FirstOpt
- GetListRhsVar
- GetRhsVar
- GetType
- IsOpt
- Lhs
- LhsVar
- NumOpt
- OverLoad
- Rhs
- Scierror
- Scilab C Types
- get_optionals
- istk
- sci_types
- sciprint
- stk

Please note that the recommended version of Scilab is 6.1.0. This page might be outdated.

However, this page did not exist in the previous stable version.

# Scilab C Types

the C types available in a C gateway

### Description

WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use API Scilab (the new Scilab API).

The string/char * datatype in the Scilab memory:

STRING_DATATYPE

"c"

The string/char ** datatype in the Scilab memory:

MATRIX_OF_STRING_DATATYPE

"S"

A matrix of double * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_DOUBLE_DATATYPE

"d"

A matrix of rational * if the size of the matrix is 1,1, it is a single value

MATRIX_OF_RATIONAL_DATATYPE

"r"

A matrix of integer * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE

"I"

A matrix of 'little' integer * 'little' because in reality, this int is a complex with the imaginary * part set to 0 * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_INTEGER_DATATYPE

"i"

A matrix of boolean * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_BOOLEAN_DATATYPE

"b"

A matrix of complex * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_COMPLEX_DATATYPE

"z"

A sparse matrix * if the size of the matrix is 1,1, it is a single value

SPARSE_MATRIX_DATATYPE

"s"

A list:

LIST_DATATYPE

"l"

A typed list:

TYPED_LIST_DATATYPE

"t"

A Matrix oriented typed list * mlist object are very similar to tlist objects. But * if M is an mlist, for any index i which is not a field name, * M(i) is not the i th field of the list but is interpreted as * the i th entry of M seen as a vector. * This is the only difference between mlist and tlist:

MATRIX_ORIENTED_TYPED_LIST_DATATYPE

"m"

The scilab pointer datatype in the Scilab memory:

SCILAB_POINTER_DATATYPE

"p"

The scilab graphic handle datatype in the Scilab memory:

GRAPHICAL_HANDLE_DATATYPE

"h"

An "external" is a function or routine which is used as an argument * of some high-level primitives (such as ode, optim, schur...):

EXTERNAL_DATATYPE

"f"

A matrix of polynomial coeff * if the size of the matrix is 1,1, it is a single value:

MATRIX_OF_POLYNOMIAL_DATATYPE

"x"

## Comments

Add a comment:Please login to comment this page.