MATLAB: Figure toolbar doesn’t work in GUI

guitoolbar

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.

Best Answer

put this code in your openingFCN function
set(gcf,'toolbar','figure');