extra uitoolbar in GUI figure (R2023b)
2 views (last 30 days)
Show older comments
Just download the R2023b. In the figure I have developped (using GUIDE), there is a full toolbar that I did not create appears as a second toolbar.
I read through the release note and did not find anything about it.
Is it normal? What is the correct way to remove the toolbar or prevent this to happen (my preferable solution).

2 Comments
Rik
on 15 Sep 2023
Perhaps the internal black magic from GUIDE is finally breaking?
The solution (for the removal) is probably to put something in the OpeningFcn, but that is a blind guess (I wasn't aware of R2023b until this morning).
Accepted Answer
Adam Danz
on 15 Sep 2023
Edited: Adam Danz
on 15 Sep 2023
To try to reproduce this behavior, I created a bare-bones gui in R16b and opened it in R23b but the GUI figure does not show any figure toolbar. Please consider contacting tech support and provide them with the GUI files. Or, if you attach them here, I'd be happy to take a look.
In the meantime, does this remove the unwelcomed toolbar?
fig.ToolBar = 'none';
I will send your feedback to the appropriate channels.
7 Comments
Adam Danz
on 20 Sep 2023
Edited: Adam Danz
on 20 Sep 2023
@Bruno Luong, could we have more information about your intentions and expectations for this line? Feel free to respond here or contact me directly using the contact button in my profile.
set(groot,'defaultFigureCreateFcn',@(fig,dummy)addToolbarExplorationButtons(fig));
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!