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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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