views:

397

answers:

2

I would to display the Simulink workspace in a MATLAB GUI window. This is cosmetic as I know well that Simulink operates fine without this addition.

However, I have no idea how to have a space in a GUI where the Simulink workspace can be displayed. Effectively, the GUI would form a thick frame around the Simulink workspace. Please let me know how what commands can be used to create the workspace window.

Also, is it possible to have a place to store a reservoir of blocks, similar to the Simulink library, in this GUI.

A: 

MATLAB GUIs and the Simulink editor rely on incompatible technology. You will not be able to embed the Simulink editor into a MATLAB GUI. What requirement do you have for Simulink modeling that isn’t met by the editor? There already exist many ways to customize the Simulink environment.

MatlabDoug
A: 

Doug is right about the Simulink editor, but you do have some freedom to put your own reservoir of blocks into the Simulink library browser. There is a section in the doc that describes how to do this.

MikeT