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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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
Release files / simulinkwrapper-1.0.2.tar.gz
| Download URL | simulinkwrapper-1.0.2.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
612460a5a554a3a78b6e2ba316377322264dff221fd612767a1c17cbb381da01
|
|
BLAKE2b-256 checksum How to use checksums |
bbc397aaace86559a13eb400ac6d3a1cf327c9a47921b791ffdebcd932d98d5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|
Release files / simulinkwrapper-1.0.2-py3-none-any.whl
| Download URL | simulinkwrapper-1.0.2-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afc025ea16b96b416d1e98f030b3ae69f4c78a7e394c7c17fc3768f268099ddc
|
|
BLAKE2b-256 checksum How to use checksums |
a741ef135a854878ed83d656c4b70ddb1d858392b2e71e111ee9cbe767e35e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|
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.