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

  • 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 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
Vista de pagina 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 617 618

Comentarios a estos manuales

Sin comentarios