Skip to main content

Package to streamline reading from and writing data to MATLAB from python

Project description

matlab_connection

this package is designed to streamline reading from and writing data to MATLAB from python

Purpose:

The matlab.engine library from Mathworks is impressive in that it allows python to connect to a MATLAB session, but can become a little long winded when interacting with numpy and calling functions.

The matlab_connection module contains a class that allows get and put variables, as well as call functions and run m-files in a straightforward, extensible manner.

Features:

  • get matlab variables into python
  • put python variables into MATLAB
  • run an script (not as a function) from python
  • call a MATLAB function from python

Installation:

  • following pip installation, move the files function_from_python.m and script_from_python.m from the installation directory (ususally PYTHONPATH\Lib\site-packages\matlab_connection) into your MATLAB search path

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_connection-0.0.4.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

matlab_connection-0.0.4-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file matlab_connection-0.0.4.tar.gz.

File metadata

  • Download URL: matlab_connection-0.0.4.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.4

File hashes

Hashes for matlab_connection-0.0.4.tar.gz
Algorithm Hash digest
SHA256 47cef07755b9f9d89fed4dfbfb98f602cf7b9d14318ec6eabd31efb800862c17
MD5 a4ea28ad52272269a9719785758bbf64
BLAKE2b-256 7b37d464d594ba1a12ddc62122d0b19b6a01f5c3905943323bdf14ca8bf26cd0

See more details on using hashes here.

File details

Details for the file matlab_connection-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: matlab_connection-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.4

File hashes

Hashes for matlab_connection-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4211c5e04071105fa0723ed4a085d91ce93a28b536693896c365129c36de7112
MD5 0f3cd7bd5ff57c258c19794903281245
BLAKE2b-256 39ac7f24865616e487e02b6eeafa9188cc0b98c9d8c1af4c596335914e244f96

See more details on using hashes here.

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