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 ?
I appreciate any help Jay

 채택된 답변

Fangjun Jiang
Fangjun Jiang 2016년 8월 12일

0 개 추천

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"

댓글 수: 1

Jay Samin
Jay Samin 2016년 8월 12일
Hallo Fangjun,
sorry because i didn't express my problem clearly, I want to call the model and its necessary M-files but i don´t want to simulate it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

태그

질문:

2016년 8월 11일

댓글:

2016년 8월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by