Compile, run, and interact with Simulink models natively in Python!
Project description
PySimlink
PySimlink is a python package that automatically compiles Simulink codegen files into a simple interface that you can interact with in Python!
With this package, you can:
- Interact with the internals of your Simulink model
- Run the model in "accelerator mode"
- Send and receive data in the form of numpy arrays
- Run multiple instances of the same model
All without requiring a MATLAB runtime on the target machine! No C/C++ programming required!
To get started, you either need a copy of the generated model you want to simulate or, to generate the code yourself, you need the Simulink Coder. There are some limitations, namely that your model must use a fixed step solver (a requirement of the grt target).
Check out the docs to get started!
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
pysimlink-1.0.0.tar.gz
(33.5 kB
view hashes)
Built Distribution
pysimlink-1.0.0-py3-none-any.whl
(30.1 kB
view hashes)
Close
Hashes for pysimlink-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59773cf7266954c2245f0e84cbeba005a16377f49a42069206e3abba608d245 |
|
MD5 | 3a7aebd55208733c48a448bdb0273bd9 |
|
BLAKE2b-256 | db73401658c1eb4f09f56358991eb78755a58a3f8e83ec4bfaca5148729f8e84 |