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

2 ビュー (過去 30 日間)
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?

採用された回答

Jan
Jan 2017 年 3 月 29 日
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 件のコメント
Shreeprasad Bhat
Shreeprasad Bhat 2017 年 3 月 30 日
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?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by