MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guida Utente Pagina 382

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 674
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 381
18 Coverage Collection During Simulation
18-16
Record Coverage for the Second Instance of the Referenced Model
Record coverage for two Model blocks. Set the simulation mode of a second Model block
to Normal and simulate the model. In this example, the Counter2 block adds to the
coverage for the model referenced from both Model blocks.
1
In the Simulink Editor for your top-level model, right-click a second Model block and
select Block Parameters (ModelReference).
The Function Block Parameters dialog box opens.
2
Set the Simulation mode parameter to Normal.
3
Click OK to save your change and exit the Function Block Parameters dialog box.
The corners of the Model block change to indicate that the simulation mode for this
block is Normal, as in the example below.
Vedere la pagina 381
1 2 ... 377 378 379 380 381 382 383 384 385 386 387 ... 673 674

Commenti su questo manuale

Nessun commento