clear from Command window

5 ビュー (過去 30 日間)
Rahma Yeni
Rahma Yeni 2012 年 5 月 23 日
Hello again.. :) I have a problem... I use GUI to make my application... In the GUI, i use some axes.. When i running it, i got this in Command Window:
AlphaData
AlphaDataMapping: [ {none} | direct | scaled ]
CData
CDataMapping: [ {direct} | scaled ]
DisplayName
XData
YData
ButtonDownFcn: string -or- function handle -or- cell array
Children
Clipping: [ {on} | off ]
CreateFcn: string -or- function handle -or- cell array
DeleteFcn: string -or- function handle -or- cell array
BusyAction: [ {queue} | cancel ]
HandleVisibility: [ {on} | callback | off ]
HitTest: [ {on} | off ]
Interruptible: [ {on} | off ]
Parent
Selected: [ on | off ]
SelectionHighlight: [ {on} | off ]
Tag
UIContextMenu
UserData
Visible: [ {on} | off ]
How to dismiss them..?? Thank You.. :)

採用された回答

Oleg Komarov
Oleg Komarov 2012 年 5 月 23 日
You can erase what has been printed in the command window with clc
To suppress commands from printing in the command window be sure to terminate with semicolon (; - http://www.mathworks.co.uk/help/techdoc/ref/specialcharacters.html). Additionally, qhen querying graphic object properties be sure to assign them to some variable.
Example:
a = get(0)
a = get(0);
get(0);
  4 件のコメント
Rahma Yeni
Rahma Yeni 2012 年 5 月 24 日
I have used semicolon in all my script... I think it influenced use of axes
Jan
Jan 2012 年 5 月 24 日
@Rahma, the output to the command window shows unequivocally, that you have forgotton at least one semicolon. You can use either the debugger or search for MLint messages to find the corresponding line.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by