MATLAB: Simulink block in GUI guigui simulink blockMATLABsimulink is it possible to build or interface a block diagram in GUI window? tell me the ways Best Answer Yes - assuming you mean that the GUI needs to control the parameters of the Simulink model. See an example here. Related SolutionsMATLAB: How to get SIMULINK to use Dialog Callbacks and not GUI Callbacks when having a block mask with a GUI build using GUIDE This is expected behaviour.As a workaround you can modify the GUI MATLAB file to evaluate the callbacks of the SIMULINK block mask.The following code illustrates how to do this:names = get_param(gcb,'MaskNames');callbacks = get_param(gcb,'MaskCallbacks');eval(callbacks{find(strcmp(names,'callback_name'))}); MATLAB: GUI A GUI is a figure. A figure cannot be a child of a figure. Therefore it is not clear, what you want to achieve. Please explain, what "draw a figure" exactly means.Perhaps you want a uipanel? Related QuestionSimulink model giving error: the diagram must contain a power gui blockGUIGUIDisplay updated values in GUI during simulink model runtimeGui
Best Answer