Waitbar till a file is created after a process

3 visualizaciones (últimos 30 días)
abaza
abaza el 23 de Jun. de 2017
Comentada: Walter Roberson el 24 de Jun. de 2017
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 comentario
Jan
Jan el 23 de Jun. de 2017
What should the waitbar display if the total time is unknown? Do you want a kind of sand clock?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Jun. de 2017
  2 comentarios
abaza
abaza el 24 de Jun. de 2017
Editada: abaza el 24 de Jun. de 2017
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 el 24 de Jun. de 2017
The progressbar is its own figure. Using the variables of the discussion linked to above, you should clear wb

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre App Building en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by