Core_py2matlab: convert data from Python to MATLAB and back.

版本 1.0.1.0 (9.7 KB) 作者: Kyle
Convert Python data structures to MATLAB data structures and vice versa.
1.4K 次下载
更新时间 2015/11/4

查看许可证

With a Python distribution and MATLAB installed on the same machine, MATLAB can create Python data structures from within; e.g. myPyStr = py.str('Hello World!'). Python data structures can also be created within MATLAB by the output of a Python package. Python data can be converted back into a MATLAB data type through type-conversion, e.g. char(myPyStr). This function automates the identification of the Python data type and convert it to the appropriate MATLAB data type and vice versa.

引用格式

Kyle (2026). Core_py2matlab: convert data from Python to MATLAB and back. (https://ww2.mathworks.cn/matlabcentral/fileexchange/53717-core_py2matlab-convert-data-from-python-to-matlab-and-back), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
版本 已发布 发行说明
1.0.1.0

There was a bug in the conversion from Matlab into Python data structures regarding arrays in a cell.

1.0.0.0