Domenico
Domenico

Reputation: 73

Hide MATLAB figure in the taskbar

I have created a lot of MATLAB figures, using the figure command. All these figures appear as icons in the taskbar (see below). I would like to hide these icons in the taskbar, but the figures themselves should still be visible on the screen.

MATLAB figure icons in taskbar

Any solution for this?

Upvotes: 1

Views: 465

Answers (2)

EBH
EBH

Reputation: 10440

When you create the figures, set the WindowStyle property to docked:

for k = 1:10
    figure('WindowStyle','docked');
end

This way all the figures will open in the main Matlab window, in different tabs, so you won't see them in the taskbar. See below the peek-view from the taskbar at the bottom that previews only 2 windows. Next, you can choose the 'float' option in the Figures window:

float button

and then you can arrange all the figures as you wish:

Figures window

Upvotes: 2

Austin
Austin

Reputation: 335

According to this from their forums, you can hide the entire menu bar using:

set(<handle>,'menubar','none');

I am not at my machine currently so I cannot test it.

Upvotes: 0

Related Questions