Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Manual Scilab >> API Scilab > Scilab Gateway API > Scilab C Types

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"

<< Scierror Scilab Gateway API get_optionals >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:43 CET 2011