MATLAB POLYSPACE 7 Guide d'installation Page 483

  • 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 482
Profiling fo r Improving Performance
To profile an M-file or a line of code, follow these steps:
1 In the Ru n this code field in the Profiler, type the statem ent you want
to run.
Youcanrunthisexample
[t,y] = ode23('lotka',[0 2],[20;20])
asthecodeisprovidedwithMATLABdemos. It runs the Lotka-Volterra
predator-prey p opulatio n model. For more information abou t this model,
type
lotkademo, which runs the demonstration.
To run a statement you previously profiled in the current MATLAB session,
select the statem ent from the list box MATLAB automat ically starts
profiling the co de, so s kip to step 3 .
7-31
Vue de la page 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 617 618

Commentaires sur ces manuels

Pas de commentaire