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 Dictionaries
prevMATLAB Mapping for Structures

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

Cell array of Cell
Element TypeMapped Sequence 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
enum, struct, basic type other than stringsequencevector1 of the mapped element typedictionary,
empty 0-by-0 array of the mapped element type for empty sequence
all other types: classcontainers.Map

...

, dictionary, proxy, sequence, string1-by-n cell array of the mapped element type

...

,
empty 0-by-0 cell array for empty sequence
Info

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

Anchor
vector
vector

1 These vectors are 1-by-n arrays, where n is the size of the sequence.

Znav
nextMATLAB Mapping for Dictionaries
prevMATLAB Mapping for Structures