MATLAB POLYSPACE 7 Instalační příručka Strana 446

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 445
6 Editing and Debugging M-Files
2 Position the cursor at the start of the first line. Select Cell > Insert Cell
Divider.
The Editor/D ebugger inserts
%% as the first line and moves the rest of the
file down one line. All lines are highlighted in yellow, indicating that the
entire file is a single cell, unless you do not have that display preference
for cells selected.
3 Enter a cell title f ollowing the %%. Typeaspacefirst,followedbythe
description.
Calculate and Plot Sine Wave
4 Position the cursor at the s ta r t of line 7, title.... Select Cell > Insert
Cell Divider.
The Editor/Debugger inserts a line containing only
%% at line 7 and moves
the remaining lines down by one line. A horizontal line that helps you
distinguish the two cells appears above the
%% line, unless you do not
have that display preference for cellsselected. Lines7through12are
highlighted in yellow, indicating they comprise the current cell.
5 Enteracelltitleforthenewcell. Online7,typeaspaceafterthe%%,
followed by the description
Modify Plot Properties
Savethefile. Thefileappearsasshowninthisfigure.
6-138
Zobrazit stránku 445
1 2 ... 441 442 443 444 445 446 447 448 449 450 451 ... 617 618

Komentáře k této Příručce

Žádné komentáře