Creation of gui components which is set visible off, is visible for short time?

2 vues (au cours des 30 derniers jours)
I have developed a tool using MATLAB guide. I have created 3 tabs and a panel for each tab. Each panel has around 10 GUI components(such as buttons, sub panels and textboxes etc). I will be making visible off for other two panels when a tab is clicked.
Issue: When I start the tool , GUI appears slowly, where initially visible property of other panels i set to off slowly, so one can see the creation of all panels during start for about a 1 second to 2 seconds. It appears really awkward.
MATLAB version: Matlab R2012b
Help me with this issue?

Réponse acceptée

Jan
Jan le 29 Mar 2017
You can hide the complete figure during the creation. If the creation takes some seconds, the appearence must be awkward. Professional tools use a splash screen during the creation of the GUI.
Perhaps some drawnow commands help to update the visibility status, but this will increase the time until the GUI is ready to use.
  1 commentaire
Shreeprasad Bhat
Shreeprasad Bhat le 30 Mar 2017
I am using guide for gui creation. I will be making figure visible off in guide itself. But when should I make figure visible on. Is it in the OpeningFcn or OutputFcn or somewhere else?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by