Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Conversion Between MATLAB Types and C# Types

This MATLAB® type....Is equivalent to this C# type....
uint8byte
int8sbyte
uint16ushort
int16short
uint32uint
int32int
uint64ulong
int64long
singlefloat
doubledouble
logicalbool
charSystem.String, char
cell (character arrays only)Array of System.String
cell (heterogeneous data types)Array of System.Object
structA .NET struct or class with public fields or public properties

    Note:   Multidimensional arrays of above C# types are supported. Jagged arrays are not supported.

Was this topic helpful?