Matlab中的class主要是返回對象的數據類型,用法爲class();可能的返回值有:java
- double -- Double precision floating point number array
- (this is the traditional MATLAB matrix or array)
- single -- Single precision floating point number array
- logical -- Logical array
- char -- Character array
- cell -- Cell array
- struct -- Structure array
- function_handle -- Function Handle
- int8 -- 8-bit signed integer array
- uint8 -- 8-bit unsigned integer array
- int16 -- 16-bit signed integer array
- uint16 -- 16-bit unsigned integer array
- int32 -- 32-bit signed integer array
- uint32 -- 32-bit unsigned integer array
- int64 -- 64-bit signed integer array
- uint64 -- 64-bit unsigned integer array
- <class_name> -- MATLAB class name for MATLAB objects
- <java_class> -- Java class name for java objects