Preliminary documentation for Ice for MATLAB. Do not use in production applications. Refer to the space directory for other releases.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The MATLAB mapping for a Slice sequence varies depending on the element type of the sequence:

Element TypeMapped Type
boolNumeric array of logical
NumericNumeric array of the corresponding basic type
string

Cell array of char values

structCell array of instances
enumCell array of enumerators
sequenceCell array of the mapped element type
dictionaryCell array of the mapped element type
classCell array of the mapped element type

Sequences of boolean and numeric types are mapped to numeric arrays for the sake of efficiency. Sequences of other types are mapped to cell arrays containing instances of the mapped element type.

For sequences of user-defined types, the mapping generates a class with the same name as the sequence. This class contains only marshaling code and therefore we do not describe it here.


See Also

  • No labels