Waitbar till a file is created after a process

조회 수: 3 (최근 30일)
abaza
abaza 2017년 6월 23일
댓글: Walter Roberson 2017년 6월 24일
Dear all, I have a minimization function with many nested functions, inside a matlab gui. This function starts after pressing a button. So, you realise that the time for the minimization process to end is not defined. When the minimization is ended a figure is exported! Does anyone know how to create a waitbar to count till the figure creation??? All waitbars need a loop with a step. However, the time for the minimization is different each time! Thank you!
  댓글 수: 1
Jan
Jan 2017년 6월 23일
What should the waitbar display if the total time is unknown? Do you want a kind of sand clock?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 6월 24일
  댓글 수: 2
abaza
abaza 2017년 6월 24일
편집: abaza 2017년 6월 24일
Thank you Walter! It does what i want at least! However, how can I close the progressbar from my script and not pressing any button???? Because I try with close(fig) but nothing happens!!!
Walter Roberson
Walter Roberson 2017년 6월 24일
The progressbar is its own figure. Using the variables of the discussion linked to above, you should clear wb

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by