Calling a Simulink-Modell by Button Click
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone,
i programmed a Gui in Matlab and i would like to call a Simulink-Model through button click. has someone an idea how I can do it ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155645/image.png)
I appreciate any help Jay
댓글 수: 0
채택된 답변
Fangjun Jiang
2016년 8월 12일
What do you mean "call a Simulink-Model", open it and run simulation? You can put some code similar to below in the callback function of your button click.
open_system('ModelName'); sim('ModelName');
For info on other Simulink related functions, type "help simulink"
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!