clear from Command window

6 visualizzazioni (ultimi 30 giorni)
Rahma Yeni
Rahma Yeni il 23 Mag 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.. :)

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by