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

1 次查看(过去 30 天)
I would like to be able to remove buttons such as the "new file" or "new figure" button from the toolbar.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by