How I can run a simulink model from Python script?
显示 更早的评论
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 个评论
sonali umare
2020-2-6
how can I import IEEE distribution system of MATLAB in python
Meng Zhang
2021-12-1
how to run the simulnk model just for one step by using MATLAB Engine API?
采纳的回答
更多回答(1 个)
Meng Zhang
2021-12-1
0 个投票
how to run the simulnk model just for one step by using MATLAB Engine API?
1 个评论
David
2023-1-19
Here is an example on how to do this: https://medium.com/@soutrikbandyopadhyay/controlling-a-simulink-model-by-a-python-controller-2b67bde744ee
类别
在 帮助中心 和 File Exchange 中查找有关 Call MATLAB from Python 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!