How can I remove buttons on the figure toolbar within MATLAB?

1 visualizzazione (ultimi 30 giorni)
I would like to be able to remove buttons such as the "new file" or "new figure" button from the toolbar.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 2009
For MATLAB 7.0 (R14) and all subsequent releases, refer to the Related Solution linked at the bottom of the page.
For product releases prior to MATLAB 7.0 (R14):
If you would like to remove the entire figure toolbar (all buttons), execute the following commands to open a new figure window and remove the toolbar:
fig = figure
set(fig,'Toolbar','none')
This removes the entire toolbar and not specific buttons.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by