File Exchange

image thumbnail


version 1.3 (10.9 KB) by

Embeds the Python Interpreter in Matlab.

1 Download


View License

Embeds the Python Interpreter in Matlab. Allows for parsing of Matlab strings as Python code. Allows the programmer to move data in between Python and Matlab.

For a full description and examples:

Comments and Ratings (3)


runs on python 2.7. Be careful if your want to use numpy-related module(your job and libraries are related to numerical computing right?). Matlab is shipping with numerical libraries with version lag(compared to your numpy installation). Do something like "setenv LD_PRELOAD /usr/lib64/" before you run Matlab will solve it.


Andrey (view profile)

Good stuff. As usual, be prepared to edit C-code to reflect locations of standard headers in your operating system, and to comment out data types not supported for your operating system.

eros montin

it's the easiest way to share data between python and Matlab workspace... brilliant and amazing thank you Eros



Fixed some variable transport weirdness. Added string support.


Fixed the GIL. Threading works better.

MATLAB Release
MATLAB 7.8 (R2009a)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video