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

2 views (last 30 days)
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?

Accepted Answer

Jan
Jan on 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 Comment
Shreeprasad Bhat
Shreeprasad Bhat on 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?

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!