Conversion Between MATLAB Types and C# Types
This MATLAB® type.... | Is equivalent to this C# type.... |
---|---|
uint8 | byte |
int8 | sbyte |
uint16 | ushort |
int16 | short |
uint32 | uint |
int32 | int |
uint64 | ulong |
int64 | long |
single | float |
double | double |
logical | bool |
char | System.String , char |
cell (character arrays only) | Array of System.String |
cell (heterogeneous data types) | Array of System.Object |
struct | A .NET struct or class with public
fields or public properties |
Note
Multidimensional arrays of above C# types are supported. Jagged arrays are not supported.