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.