Waitbar till a file is created after a process
조회 수: 3 (최근 30일)
이전 댓글 표시
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
2017년 6월 23일
What should the waitbar display if the total time is unknown? Do you want a kind of sand clock?
채택된 답변
Walter Roberson
2017년 6월 24일
About the best you can do is as I describe at https://www.mathworks.com/matlabcentral/answers/293613-waitbar-or-progress-bar-without-using-for-loop#answer_227587
댓글 수: 2
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!