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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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