Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IceMaster and version 3.7.1

Znav
nextMATLAB Mapping for Enumerations
prevMATLAB Mapping for Modules

On this page:

Table of Contents
maxLevel3

...

The Slice built-in types are mapped to MATLAB types as shown in this table:

Slice

MATLAB

bool

logical

byte

uint8

short

int16

int

int32

long

int64

float

single

double

double

string

character vector (1-by-n array of char),
empty 0-by-0 character array for empty strings

Ztop
Anchor
string
string

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.

As The MATLAB mapping accepts empty arrays in addition to character vectors as string input values for a remote Slice operation, Ice accepts empty arrays in addition to char objectsoperations; each occurrence of an empty array is marshaled as an empty string. Ice assumes that all char objects contain all character vectors contain valid UTF-16 encoded strings and converts them to UTF-8 prior to marshaling.

Info

Ice for The MATLAB mapping currently does not support the allow you to map Slice strings to the MATLAB string type added in MATLAB R2016b.

Ztop

See Also

Znav
nextMATLAB Mapping for Enumerations
prevMATLAB Mapping for Modules