Borrar filtros
Borrar filtros

simulink GUI popUp menu

2 visualizaciones (últimos 30 días)
Unkown
Unkown el 30 de Mzo. de 2021
Respondida: Vidip el 21 de Feb. de 2024
How to show different simulink file with GUI popupmenu?

Respuestas (1)

Vidip
Vidip el 21 de Feb. de 2024
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:

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by