Skip to main content

SimulinkWrapper

SimulinkWrapper is a simple Python wrapper around Simulink that allows one to simulate an existing model in Simulink from Python. This is particularly useful for control systems design and implementation, as the control algorithms can then be implemented in Python, while the plant model is run by Simulink. This way, custom control systems making use of powerful Python libraries (e.g. machine learning libraries) can be tested on Simulink models. This frees the designer from having to devise a way to model complicated systems in Python (e.g. using nonlinear state-space models).

Keep in mind that this package uses the Matlab-Python engine to communicate with Matlab. The engine will have to be installed manually, as the version to install depends on the Matlab version used to obtain the Simulink models and run the simulations.

Installation

Using pip

The package may be installed using pip:

pip install simulinkwrapper

Using git

Alternatively, clone the repository:

git clone https://github.com/MiguelLoureiro98/simulinkwrapper.git

And then move into the cloned repository to install it locally:

cd simulinkwrapper
pip install .

Development dependencies can be installed by typing:

pip install .[dev]

Documentation

A dedicated website hosting the documentation will be released soon.

Licence

This project is licenced under the Apache 2.0 Licence.

Metadata

Release files for simulinkwrapper 1.0.2

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

Source distribution (sdist)

Source distribution for simulinkwrapper 1.0.2
File Size Uploaded Provenance Actions
simulinkwrapper-1.0.2.tar.gz 16.5 kB Without provenance Details for simulinkwrapper-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simulinkwrapper 1.0.2
File Interpreter ABI Platform Actions
simulinkwrapper-1.0.2-py3-none-any.whl Python 3 none any Details for simulinkwrapper-1.0.2-py3-none-any.whl

Total release size: 32.8 kB

Security for simulinkwrapper 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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