Skip to main content

MATLAB wrapper

Project description

MATLAB wrapper for Python

Usage

Initialize:

import matlab_wrapper
matlab = matlab_wrapper.MatlabSession()

Low level:

matlab.put('a', 12.3)
matlab.eval('b = a * 2')
b = matlab.get('b')

Workspace:

s = matlab.workspace.sin([0.1, 0.2, 0.3])

matlab.workspace.a = 12.3
b = matlab.workspace.b

Requirements

  • Python (2.7)

  • Matlab (tested with 2013b)

  • Numpy (1.8)

Installation

pip install matlab_wrapper

Limitations

  • Cells are not yet supported.

  • Struct arrays are not yet supported.

  • Support on Windows and OSX is not as good as on GNU/Linux (I’m looking forward to contributors).

Issues and Bugs

https://github.com/mrkrd/matlab_wrapper/issues

Alternatives

  • pymatlab

  • mlabwrap

  • mlab

Acknowledgments

matlab_wrapper was forked from pymatlab.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matlab_wrapper-0.4.tar.gz (19.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page