5.0

5.0 | 2 ratings Rate this file 11 Downloads (last 30 days) File Size: 10.86 KB File ID: #27255

pymex

by Tim Perkins

 

15 Apr 2010 (Updated 10 Jul 2011)

Embeds the Python Interpreter in Matlab.

| Watch this File

File Information
Description

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:
http://vader.cse.lehigh.edu/~perkins/pymex.html

MATLAB release MATLAB 7.8 (R2009a)
Other requirements libython2.6, python2.6/Python.h, libdl, dlfcn.h, g++
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
17 Nov 2010 eros montin

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

13 Nov 2011 Andrey

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.

Please login to add a comment or rating.
Updates
15 Jun 2011

Fixed the GIL. Threading works better.

10 Jul 2011

Fixed some variable transport weirdness. Added string support.

Tag Activity for this File
Tag Applied By Date/Time
python Tim Perkins 16 Apr 2010 09:15:17

Contact us at files@mathworks.com