When MATLAB® functions return output arguments, MATLAB converts the data into equivalent Python® data types.
MATLAB Output Argument
Type | Resulting Python Data Type |
---|---|
Numeric array |
|
|
|
Complex (any numeric type) |
|
|
|
|
|
|
|
|
|
|
|
|
|
structure |
|
Row or column cell array |
|
M -by-N cell array | Not supported |
MATLAB handle object ( | Not supported |
Other object (e.g., Java®) | Not supported |
Function handle | Not supported |
Sparse array | Not supported |
String array | Not supported |
Structure array | Not supported |