MATLAB POLYSPACE 7 Guide d'installation Page 401

  • 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 400
M-Lint Code Analyzer
extraneous and you could delete it. But it might be that you actually
intended to use the variable, as shown in step 6 of this example.
6 Make changes to your code as n eeded. The M-Lint indicator and
underlining automatically update to reflect the changes you make, even
if you do n o t save the file.
In this example, the intention was to use
nothandle as a performance
improvement by determining the value prior to the loop. Changing
~ishandle(hline(nh)) in line 24 to nothandle(nh) means there is no
longer an M -Lint message associated with line 22. For more information
about what the warning and improvement messages in this example mean
and actions you can take to address them, see “Messages and Resulting
Changes for the lengthofline Example” on page 7-21.
7 Some errors and warnings are highlighted, indicating M-Lint can
automatically fix the code. For example, in
lengthofline,line23,prod
is underlined because there is an M -Lint warning, and it is highlighted
because an a utomatic fix is available. When you view the M-Lint message,
it also indicates the auto-fix that is available.
6-93
Vue de la page 400
1 2 ... 396 397 398 399 400 401 402 403 404 405 406 ... 617 618

Commentaires sur ces manuels

Pas de commentaire