The MATLAB mapping for a Slice sequence depends on the element type of the sequence:
Element Type | Mapped Sequence Type |
---|---|
enum , struct , basic type other than string | vector1 of the mapped element type, empty 0-by-0 array of the mapped element type for empty sequence |
all other types: class , dictionary , proxy , sequence , string | 1-by-n cell array of the mapped element type, empty 0-by-0 cell array for empty sequence |
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
1 These vectors are 1-by-n arrays, where n is the size of the sequence.