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!