MATLAB POLYSPACE 7 Guía de instalación Pagina 324

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 618
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 617 618

Comentarios a estos manuales

Sin comentarios