pymatlab Icon



A pythonic interface to MATLAB

5.0 Stars (1)
12 Downloads (This Week)
Last Update:
Download pymatlab-0.2.3.tar.gz
Browse All Files
BSD Windows Linux


This package lets Python users interface and communicate with MATLAB from
Python. Pymatlab makes it easier for users to integrate a project with a large
MATLAB codebase into python scripts by using MATLAB scripts as a part of the
python program.

The basic functionality of this package is to send data from Python to MATLAB's
workspace to be able to run Matlab function on the data. After processing you
retrieve back data to python. This enables you to process data with Mathlab's
built in functions, toolboxes or Matlab-scripts. It is also possible to use
MATLAB's to generate plots or other graphics.

The package uses Numpy's ndarrays and translates them into MATLAB's mxarrays
using Python's ctypes and Matlab's mx library. The interface to MATLAB's
workspace in done through MATLAB's engine library.

pymatlab Web Site


  • Transfer numpy.arrays to MATLAB's workspace
  • Get data from MATLAB's workspace into a numpy array.
  • Run MATLAB code from a python.


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
Write a Review

User Reviews

  • markovg
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    "Pythonic MATLAB!": PyMATLAB allows quick and automatic wrapping of MATLAB toolboxes for Python (use case: PyTreesTB, This is made possible by exposing the MATLAB namespace as session class attributes, performing automatic translation between MATLAB and Python datatypes upon assignment and lookup (including exotic ones like sparse matrices and structs and cell-arrays), and providing seamless Python proxies to MATLAB functions, callable as if they were in MATLAB (argument translation is also automatic).

    Posted 09/26/2010
Read more reviews

Additional Project Details

Intended Audience

Advanced End Users, Developers

Programming Language

MATLAB, Python


Screenshots can attract more users to your project.
Features can attract more users to your project.