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 details)

Uploaded Source

File details

Details for the file matlab_wrapper-0.4.tar.gz.

File metadata

  • Download URL: matlab_wrapper-0.4.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for matlab_wrapper-0.4.tar.gz
Algorithm Hash digest
SHA256 bab8ac95e17a5ed9cd8bc557892ab6912753985be649eaa8dcd1c34d16056fd5
MD5 22c39eab0ef49d4a4fdaf41bc7024ff7
BLAKE2b-256 ca8ad145354943e3e87aaf9c634f9280db02ce5fe3f592b7158b6c5825f36521

See more details on using hashes here.

Supported by

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