MATLAB: How to a GUI directly in Simulink Model

matlab guisimulink

Is it possible to display a GUI directly in a Simulink model ?
The GUI can be used for entering values or for selection of Variables before simulation. What it avoids is the double click required to open the GUI and shows the selected parameters.

Best Answer

You can invoke a gui from a block. Create an empty subsystem. In its open function, you can call the GUI. In the GUI you can set all the parameters in one window and then start the simulation.