matlab与c语言中的数据类型对照
时间:2010-11-15 来源:尛尛蟲
The following platform dependent formats are also supported but they are not guaranteed to be the same size on all platforms.
MATLAB C or Fortran Description
'char' 'char*1' character, 8 bits (signed or unsigned).
'short' 'short' integer, 16 bits.
'int' 'int' integer, 32 bits.
'long' 'long' integer, 32 or 64 bits.
'ushort' 'unsigned short' unsigned integer, 16 bits.
'uint' 'unsigned int' unsigned integer, 32 bits.
'ulong' 'unsigned long' unsigned integer, 32 bits or 64 bits.
'float' 'float' floating point, 32 bits.
相关阅读 更多 +