MATLAB POLYSPACE 7 Installationsanleitung Seite 168

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 618
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 167
3 Running Functions Command Window and History
Controlling Output
In this section...
“Echoing Execution” on page 3-30
“Suppressing Output” on page 3-30
“Paging of Output in the Command Window” on page 3-30
“Formatting and Spacing Num eric O u t pu t” on pa g e 3-31
“Clearing the Command Window” on page 3-32
“Printing Command Window Contents” on page 3-33
“Keeping a Session Log” on page 3-33
Echoing Execution
Todisplayeachfunctionwithinastatementasitexecutes,runecho on.For
details, see the
echo reference page.
Suppressing Output
If y ou e nd a statement w ith a semicolon ( ; )andthenpressEnter or Return,
MATLAB runs the statement but does not display any o utput. This is
particularly useful wh en you gen erate l arge matrices. For e xample, running
A = magic(100);
creates A but does not show the resulting matrix in the Command Window.
Paging of Output in the Command Window
If output in the Command Window is lengthy, it might not fit within the
screen and d isplay too quickly for you to see it without scrolling back to it. To
avoid that problem, use the
more function to control the paging of output in
the Com mand Window. B y default,
more is off.
After you type
more on, M ATLAB displays only a page (a screen full) of
output, pauses, and displays
3-30
Seitenansicht 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 617 618

Kommentare zu diesen Handbüchern

Keine Kommentare