clear from Command window

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Whos 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by