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
2009-6-27
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!