MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guide de l'utilisateur Page 382

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 674
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 381
1 2 ... 377 378 379 380 381 382 383 384 385 386 387 ... 673 674

Commentaires sur ces manuels

Pas de commentaire