필터 지우기
필터 지우기

simulink GUI popUp menu

조회 수: 2 (최근 30일)
Unkown
Unkown 2021년 3월 30일
답변: Vidip 2024년 2월 21일
How to show different simulink file with GUI popupmenu?

답변 (1개)

Vidip
Vidip 2024년 2월 21일
To show different Simulink models using a GUI popup menu in MATLAB, you can create a graphical user interface (GUI) that includes a popup menu for selecting the model to open. This can be done using MATLAB App Designer to make the GUI and ‘open_system’ function for opening any model or block.
Define a callback function that will execute whenever a menu item is selected. This function's responsibility is to open the chosen Simulink model using the ‘open_system’ function. By implementing this callback function, you effectively link user selection with the desired model opening action.
For further information, refer to the documentation link below:

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by