Compile, run, and interact with Simulink models natively in Python!
Project description
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
Built Distribution
File details
Details for the file pysimlink-1.1.0.tar.gz
.
File metadata
- Download URL: pysimlink-1.1.0.tar.gz
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 828855aae235ba506c5ac28a0bdd0e93d2834799e5821584334a0d4357c47088 |
|
MD5 | ebbcd226037e339080324d2d166a37d9 |
|
BLAKE2b-256 | 37cb758e5f82854facbe1e1eb9572e47d2b2784b11691e7ca0cc6916c8a7f292 |
File details
Details for the file pysimlink-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pysimlink-1.1.0-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44080b36e8ca986a415ea7cb2f9f7c0a6579a420a8466bc3c1c28aeb7fc5eed8 |
|
MD5 | d47485684c8365d20c55b369649557c2 |
|
BLAKE2b-256 | e26e0c8fff83071b801ee7638da63c913a3be498afca12a027ba6c297a38b08d |