Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Is there a programatic check if a figure is being loaded by Guide?

2 visualizzazioni (ultimi 30 giorni)
Hi all,
I'm playing around with a GUI where the figure's CreateFcn creates uitabs. Guide "breaks" (2014A) when I try to save the figure because of the uitabs; so I want the CreateFcn to do a "loaded by Guide test". Something like:
if (guide)
% do nothing
else
% create tabs
end
as an alternative to manual modification each time I want to load it with Guide
Cheers,
Andrew

Risposte (1)

Adam
Adam il 25 Set 2014
Modificato: Adam il 25 Set 2014
I don't think there is such a function. The best I could suggest is to comment out the functionality while you are playing around in guide or move it to be triggered by a pushbutton rather than the CreateFcn until you have settled your GUI in Guide and then move it back to the CreateFcn afterwards.
You may want to try
instead of uitab which is unsupported functionality. I don't know how the tabs are programmed in that toolbox, but I assume they don't break GUIDE.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by