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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by