MATLAB embed figure window into the editor as a tab

Viewed 84

Is there a way to prevent the MATLAB from creating a separate figure window, and instead show it as a tab in the editor, like the command window or workspace / variables tabs? I'd like to see the figure on the side while still writing on the full-size window. I looked into the settings and couldn't find anything related.

1 Answers

To do it programmatically, just set the figure's 'WindowStyle' property to 'Docked'. You can do that when you create the figure:

f = figure('WindowStyle', 'Docked');
Related