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

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

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

Ajuda 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"

See Also

  • mlist — objeto Scilab, definição de listas com tipos orientadas matricialmente
  • list — objeto do Scilab e definição de lists ("listas")
  • tlist — objeto do Scilab e definição de listas com tipos ("typed lists")
  • CreateVar — a C gateway function which allows to create a new Scilab parameter
  • GetRhsVar — a C gateway function which allows to access an argument transmitted to a Scilab function
<< Scierror Scilab Gateway API get_optionals >>

Copyright (c) 2022-2024 (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:
Thu Mar 03 11:00:37 CET 2011