Print Plot Crash The Handle List Box

2 ビュー (過去 30 日間)
Adi Mico
Adi Mico 2011 年 8 月 12 日
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?

採用された回答

Adi Mico
Adi Mico 2011 年 8 月 12 日
Solved.
I have the listbox into another figure.

その他の回答 (1 件)

Michael
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.
  1 件のコメント
Adi Mico
Adi Mico 2011 年 8 月 12 日
the only one that disappeared is listbox. I still have the editbox,axes,and pushbutton.
I've tried with saveas() but the result is the same

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by