主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

MATLAB 类型与 C# 类型之间的转换

此 MATLAB® 类型....与 C# 类型等效....
uint8byte
int8sbyte
uint16ushort
int16short
uint32uint
int32int
uint64ulong
int64long
singlefloat
doubledouble
logicalbool
charSystem.String, char
cell(仅限字符数组)System.String 数组
cell(异构数据类型)System.Object 数组
struct具有 struct 字段或 public 属性的 .NET public 或类

注意

支持上述 C# 类型的多维数组。不支持交错数组。