A Python wrapper for Simulink using the Matlab Python Engine.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simulinkwrapper-1.0.1.tar.gz.
File metadata
- Download URL: simulinkwrapper-1.0.1.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf72c7a11aac4e1e46b0c5f2526e10e4444649fb78a608b116c081f46169d78e
|
|
| MD5 |
d084b8dd9e8d8e7175fdba5b2cae95d2
|
|
| BLAKE2b-256 |
ef9d0ab929903d44546c6982776fdd39207dfb575d7ee780953b23dd6a0f4571
|
File details
Details for the file simulinkwrapper-1.0.1-py3-none-any.whl.
File metadata
- Download URL: simulinkwrapper-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93dbe9a17f111a8b553d977731042d84c256cebc4061507744d59631dc02932a
|
|
| MD5 |
25d2f41253bc56357bb973b376b4283e
|
|
| BLAKE2b-256 |
7f78c6d265ba4867f43e2e745048b22ed6bc61ff61ed1526bbf010cb8d2cfbd2
|