Print Plot Crash The Handle List Box
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a timer for saving the plot. But when start the timer, my List Box was disappeared. Sometimes it shows but sometimes it vanished. Is the print function so heavy for processing in matlab so that my list box is disappeared?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Michael
2011년 8월 12일
Is the ListBox the only uicontrol in your figure? Are there some more uicontrols which remains in the saved plot? Try to use the 'parent' property when creating the listbox:
listbox1 = uicontrol(parent, 'Style', 'listbox',...)
If it is not necessary to use print() and just want to save the graph as a picture, so try to use the saveas() instead.
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!