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

  • 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 405
6 Editing and Debugging M-Files
Suppressing M-Lint Indicators and Messages
Depending on what stage you are at in completing the M-file, you m ight
want to restrict the underlining, which you can do via the M-Lint preference
referred to in ste p 1, above. For e xample, when first coding, you might prefer
no underlines because they would be distracting. For details, click the Help
button in the Preferences dialog box.
M-Lint does not provide perfect information about every situation and in
some cases, you might not want to make any changes based on an M-Lint
message. In the event you do not want to change the code but you also do not
want to see the M-Lint indicator and m essage for that line, instruct M -Lint to
suppress them. For the
lengthofline exampl e, in line 49 , the first M-Lint
message is
Terminate statement with semicolon to suppress output
(in functions)
. Adding a semicolon to the end of a statem ent suppresses
output and is a common practice. M-Lint alerts you to lines that produce
output but lack the terminating semicolon. If you want to view output from
line 49, do not a dd the semicolon as M-Lint suggests.
6-98
Vista de pagina 405
1 2 ... 401 402 403 404 405 406 407 408 409 410 411 ... 617 618

Comentarios a estos manuales

Sin comentarios