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!