MATLAB POLYSPACE 7 Instalační příručka Strana 483

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 618
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 617 618

Komentáře k této Příručce

Žádné komentáře