Hide gui at start and show it once it is ready

2 ビュー (過去 30 日間)
Lorenzo
Lorenzo 2014 年 1 月 15 日
コメント済み: Lorenzo 2014 年 1 月 17 日
Dear all, I've built a gui with quite a number of elements. Now, it shows a little bit of delay in the elements creation at start generating a wavy glitter.
I was thinking of creating the GUI as hidden, let matlab draw everything and then, once it is ready, show it. No problem in generating an hidden GUI but then how do I show it? Where do I have to put the set(myGUI,'Visible','on') bit?
Thanks!

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2014 年 1 月 17 日
Hi Lorenzo,
you created you application "by hand", i.e., using uicontrol commands? Or using guide? In the first case, as you wrote, create your figure invisible ('visible', 'off'), and at the very end set it to 'visible', 'on'.
GUIDE should do this automatically, though.
Titus
  1 件のコメント
Lorenzo
Lorenzo 2014 年 1 月 17 日
Hi Titus and thanks for your answer. I used GUIDE. If this is done automatically then I guess that is already answering my question.
Thanks again!
Lorenzo

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

カテゴリ

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