Home > Enterprise >  MATLAB embed figure window into the editor as a tab
MATLAB embed figure window into the editor as a tab

Time:03-11

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.

I am not sure if questions not related to MATLAB code is on topic, my apologies if it is not.

CodePudding user response:

You need to set the figure's 'WindowStyle' property to 'Docked'. You can do that when you create the figure:

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