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
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