Clear image in GUI?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
Is there another way to clear image in axes beside using the following code?
cla(handles.im1,'reset')
If i use this, it even clears the ButtonDownFcn of my axes.
Thanks
댓글 수: 0
채택된 답변
추가 답변 (2개)
Paulo Silva
2011년 7월 10일
Just delete the children of the current axes
delete(get(gca,'Children'))
The buttondownfcn of the axes remains unchanged
댓글 수: 4
norfaizayu
2012년 1월 30일
i cannot run the source code. is it just put the coding?i have 3 axes to be clear in gui. so how can i clear it?
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!