When you pass Python® data as input arguments to MATLAB® functions, the MATLAB Engine for Python converts the data into equivalent MATLAB data types.
Python Input Argument Type
— | Resulting MATLAB Data Type |
---|---|
|
|
| Complex |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Structure if all keys are strings |
Python Input Argument Type
— | Resulting MATLAB Data Type |
---|---|
| Numeric array |
|
|
|
|
| Cell array |
| Cell array |
| Cell array |
The MATLAB Engine API does not support these Python types.
array.array
(use MATLAB numeric array objects instead; see MATLAB Arrays as Python Variables)
None
objectmodule
.type