clear from Command window

5 Ansichten (letzte 30 Tage)
Rahma Yeni
Rahma Yeni am 23 Mai 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.. :)

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by