View License

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

» Watch video

Highlights from

5.0 | 3 ratings Rate this file 6 Downloads (last 30 days) File Size: 10.9 KB File ID: #27255 Version: 1.3




15 Apr 2010 (Updated )

Embeds the Python Interpreter in Matlab.

| Watch this File

File Information

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:

MATLAB release MATLAB 7.8 (R2009a)
Other requirements libython2.6, python2.6/Python.h, libdl, dlfcn.h, g++
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
10 Aug 2012 QUANYI MO

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.

13 Nov 2011 Andrey

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.

17 Nov 2010 eros montin

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

15 Jun 2011 1.2

Fixed the GIL. Threading works better.

10 Jul 2011 1.3

Fixed some variable transport weirdness. Added string support.

Contact us