On this page:
Mapping of Slice Built-In Types to MATLAB Types
The Slice built-in types are mapped to MATLAB types as shown in this table:
Slice | MATLAB |
---|---|
| logical |
|
|
|
|
| int32 |
| int64 |
|
|
|
|
| character vector (1-by-n array of |
String Mapping in MATLAB
String values returned as the result of a Slice operation, including return values, out parameters, and data members, are converted from UTF-8 (Ice's on-the-wire encoding) to MATLAB's native UTF-16 encoding.
The MATLAB mapping accepts empty arrays in addition to character vectors as string
input values for remote Slice operations; each occurrence of an empty array is marshaled as an empty string. Ice assumes that all character vectors contain valid UTF-16 encoded strings and converts them to UTF-8 prior to marshaling.
The MATLAB mapping currently does not allow you to map Slice strings
to the MATLAB string
type added in MATLAB R2016b.