필터 지우기
필터 지우기

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 (최근 30일)
set(handles.text6,'String',num2str(c));
value of c continue set in between i am close than error occure.
i have enclosed error msg.

채택된 답변

Guillaume
Guillaume 2017년 9월 21일
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
praveen chandaliya
praveen chandaliya 2017년 9월 21일
in background how to close or delete text gui before remove figure.
Guillaume
Guillaume 2017년 9월 21일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by