How I can run a simulink model from Python script?
Show older comments
Hi, I'm trying to write a script in Python that generate number of inputs, and use them as inputs in a Simulink model. My doubt is how to run a Simulink model from Python (I'm working in windows). Could someone help me?
Thanks
2 Comments
sonali umare
on 6 Feb 2020
how can I import IEEE distribution system of MATLAB in python
Meng Zhang
on 1 Dec 2021
how to run the simulnk model just for one step by using MATLAB Engine API?
Accepted Answer
More Answers (1)
Meng Zhang
on 1 Dec 2021
0 votes
how to run the simulnk model just for one step by using MATLAB Engine API?
1 Comment
David
on 19 Jan 2023
Here is an example on how to do this: https://medium.com/@soutrikbandyopadhyay/controlling-a-simulink-model-by-a-python-controller-2b67bde744ee
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!