Skip to main content

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

Release files for matlab-connection 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matlab-connection 0.0.4
File Size Uploaded
matlab_connection-0.0.4.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matlab-connection 0.0.4
File Interpreter ABI Platform
matlab_connection-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / matlab_connection-0.0.4.tar.gz

Download URL matlab_connection-0.0.4.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
47cef07755b9f9d89fed4dfbfb98f602cf7b9d14318ec6eabd31efb800862c17
BLAKE2b-256 checksum
How to use checksums
7b37d464d594ba1a12ddc62122d0b19b6a01f5c3905943323bdf14ca8bf26cd0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / matlab_connection-0.0.4-py3-none-any.whl

Download URL matlab_connection-0.0.4-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4211c5e04071105fa0723ed4a085d91ce93a28b536693896c365129c36de7112
BLAKE2b-256 checksum
How to use checksums
39ac7f24865616e487e02b6eeafa9188cc0b98c9d8c1af4c596335914e244f96
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page