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.

Features

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

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow pymatlab

pymatlab Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
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

User Reviews

  • "Pythonic MATLAB!": PyMATLAB allows quick and automatic wrapping of MATLAB toolboxes for Python (use case: PyTreesTB, http://treestoolbox.org). 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).
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, MinGW/MSYS2

Intended Audience

Advanced End Users, Developers

Programming Language

MATLAB, Python

Related Categories

MATLAB Scientific Engineering, Python Scientific Engineering

Registered

2010-02-25