Bart van den Bogert
Bart van den Bogert

Reputation: 11

Disable dock button in MATLAB GUI

For a MATLAB GUI I want to disable/remove the dock button in the upper right corner of the toolbar, is this possible?

It is possible to remove the whole toolbar, but I use some other options as well .

Thanks in advance!

Upvotes: 1

Views: 268

Answers (1)

matlabgui
matlabgui

Reputation: 5672

You can set it when you create the figure:

f = figure ( 'DockControls', 'off' )

Upvotes: 1

Related Questions