MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 170

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 169
6 Optimizing Performance
6-2
The MATLAB Compiler can perform several different optimizations on your
M-file source code that can make the performance of the generated C/C++ code
much faster than the performance of the M-code in the MATLAB interpreter.
Compiler 2.1 provides a series of optimizations that can help speed up your
compiled code. The optimizations improve performance when:
Your code manipulates scalar or nonscalar arra ys.
Your code contains simple one- and two-dimensional array indexing.
Your code contains loops that start and increment with integers.
Your code contains conditional expressions where bother operands are
integers.
The only times you would choose not to optimize are if you are debugging your
code or you want to maintain the readability of your code.
Vue de la page 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 263 264

Commentaires sur ces manuels

Pas de commentaire