clear from Command window

5 views (last 30 days)
Rahma Yeni
Rahma Yeni on 23 May 2012
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.. :)

Accepted Answer

Oleg Komarov
Oleg Komarov on 23 May 2012
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 Comments
Rahma Yeni
Rahma Yeni on 24 May 2012
I have used semicolon in all my script... I think it influenced use of axes
Jan
Jan on 24 May 2012
@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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!