- Did you add anything to the callbacks?
- Do you have an axes with plotted stuff on it?
Why figure toolbar doesn't work in GUI
2 views (last 30 days)
Show older comments
Tomislav
on 8 Nov 2012
Commented: Matthew Hockley
on 15 Dec 2018
I have created figure toolbar in GUIDE with toolbar editor, and put some usual stuff, zoom in, out, pan, data cursor and print.
And nothing of those seems to work. Why? And when I run GUI it let me turn on more functions at once?!
Thanks.
6 Comments
Sean de Wolski
on 8 Nov 2012
Huh?
I would put it in the myGUI_outputfcn but once again I'd be more curious to find the root cause of it not working in the first place...
Accepted Answer
Azzi Abdelmalek
on 8 Nov 2012
Edited: Azzi Abdelmalek
on 8 Nov 2012
put this code in your openingFCN function
set(gcf,'toolbar','figure');
4 Comments
shannon stoffel
on 1 Sep 2015
Edited: shannon stoffel
on 1 Sep 2015
Could you clarify what you did? I am having the exact same problem. I have less than 300 lines of code though.
More Answers (0)
See Also
Categories
Find more on Graphics Object Properties 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!