MATLAB POLYSPACE 7 Przewodnik Instalacji Strona 327

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 326
Entering Statements in the Edito r/Debugger
Commenting Out Part of a Statement
To comment out the end of a statement in an M-file, put the comment
character,
%, b efore the comm ent. When yo u run the file, MATLAB ignores
any text on the line after the
%.
To comment out text within a multiline statement, use the ellipsis (...).
MATLAB ignores any text appearing after the
... on a line and continues
processing on the next line. This effectively makes a comment out of anything
on the current line that follows the
.... The followin g example comm en ts
out the
Middle Initial line.
MATLAB ignores the text following the ... on the line
6-19
Przeglądanie stron 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 617 618

Komentarze do niniejszej Instrukcji

Brak uwag