How do I put a waitbar in an existing figure in MATLAB 7.8 (R2009a)?
Mostrar comentarios más antiguos
I would like to put a waitbar in an existing figure, such as a GUI figure, instead of having it appear in a separate window.
1 comentario
Aurelien Queffurust
el 26 de Mayo de 2011
I would really appreciate to see this question/answer as a Technical Note on the technical support web site.
Thanks,
Aurélien
Respuesta aceptada
Más respuestas (1)
Jelle
el 9 de Feb. de 2011
Hello,
I have a problem with this function when i want to update the message corresponding to the waitbar. When the waitbar has an own figure this command works fine:
waitbar(x,figurehandle,'updated message')
But when figurehandle corresponds to the figure where the waitbar is placed in, then the update message function does not work anymore. This error is shown:
??? Error using ==> waitbar at 106
Improper arguments for waitbar.
Caused by:
Error using ==> set
Conversion to double from cell is not possible.
How can I solve this problem?
Kind regards,
Jelle
1 comentario
Walter Roberson
el 9 de Feb. de 2011
I just looked at the waitbar code as of 2008b, and it is definitely not designed for the possibility that the figure might have a line, patch, or axes other than those that belong to the waitbar. In narrow situations, though, the crash wouldn't happen until it went to update the message.
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!