in gui design i have text gui component . i have write 1000 value (1,2,3,...1000)in between i have stop by program by close button than i got error text object not destroy how to remove this error
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
praveen chandaliya
il 21 Set 2017
Commentato: Guillaume
il 21 Set 2017
set(handles.text6,'String',num2str(c));
value of c continue set in between i am close than error occure.
i have enclosed error msg.
0 Commenti
Risposta accettata
Guillaume
il 21 Set 2017
I don't understand what you're saying in the title of your question but the error message is very clear: you're trying to set the string property of your text6 control but that control does not exist anymore. Probably because you've closed the figure containing it.
2 Commenti
Guillaume
il 21 Set 2017
Again I don't understand what you're asking. You need to explain better what it is you want.
All the controls on a figure are deleted when it is closed. There is no point in deleting them yourself beforehand, if that's what you're asking.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!