MATLAB POLYSPACE 7 Guide d'installation Page 324

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 618
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 323
6 Editing and Debugging M-Files
“C ommenting in Java and C/C++ Files Using the MATLAB
Editor/Debugger” on page 6-17
“Commenting in M - File Using A ny Te xt Editor” on page 6-1 7
“Commenting Out Part of a Statement” on page 6-19
“Formatting Comments in M-Files” on page 6-20
Commenting in M-Files Using the MATLAB Editor/Debugger
Yo u can comment the current line or a selection of lines in an M-file:
1 For a sing le line, posit ion the cursor in that l ine. For multiple lines, click i n
the line and then drag or Shift+click to select multip le lines.
2 Select Comment from the Text menu, or right-click and select it from
the context menu.
A comment symbol,
%, is adde d at the start of each selected line, and the color
of the text becomes green or the co lor specified for comments see “Syntax
Highlighting” on page 6-28.
To uncomment the current line or a selected group of lines, select Uncomment
from the Text menu, or right-click and select it from the context menu.
6-16
Vue de la page 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 617 618

Commentaires sur ces manuels

Pas de commentaire