1. Internal Datatypes in Scilab 5
In order to make the code easier to understand, Scilab type in the stack have been renamed. Those type are mainly used in the interaction with the stack (CreateVar, GetRhsVar...) These types are defined in SCI/modules/core/includes/stackTypeVariable.h: #include "stackTypeVariable.h" should do it
Scilab 5 type |
Old scilab (3.X, 4.X) |
Description |
sci_type (defined in stack-c.h) |
STRING_DATATYPE |
c |
|
sci_strings |
MATRIX_OF_STRING_DATATYPE |
S |
|
sci_strings |
MATRIX_OF_DOUBLE_DATATYPE |
d |
|
sci_matrix |
MATRIX_OF_RATIONAL_DATATYPE |
r |
tlist type overload |
sci_matrix |
MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE |
i |
|
sci_matrix |
MATRIX_OF_BOOLEAN_DATATYPE |
b |
|
sci_boolean |
MATRIX_OF_COMPLEX_DATATYPE |
z |
|
sci_matrix |
SPARSE_MATRIX_DATATYPE |
s |
|
sci_sparse |
LIST_DATATYPE |
l |
|
sci_list |
TYPED_LIST_DATATYPE |
t |
|
sci_tlist |
MATRIX_ORIENTED_TYPED_LIST_DATATYPE |
m |
|
sci_mlist |
SCILAB_POINTER_DATATYPE |
p |
|
sci_lufact_pointer |
GRAPHICAL_HANDLE_DATATYPE |
h |
|
sci_handles |
EXTERNAL_DATATYPE |
f |
|
sci_c_function |
More information about the Memory representation of variables