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!