MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guida Utente Pagina 511

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 674
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 510
Filter Model Objects to Refine Coverage Results
20-21
Exclude the Switchable config subsystem from coverage.
1
In the Simulink Editor, right-click the Switchable config subsystem.
2
Select Coverage > Exclude subsystem with all descendants.
3
Click in the Rationale field for this new rule and enter text for excluding this
transition, for example, Never executed.
4
Save this rule to the current filter. Click Apply.
5
Simulate the model again and review the results.
The Filtered Blocks section of the report lists the Switchable config subsystem. No
coverage is recorded for the subsystem.
Filter a Specific Block
In the slvnvdemo_covfilt model, the rate signal can never be less than or equal to 0,
which is the value of the Lower limit parameter of the Saturation block. This condition
leads to missing coverage.
Exclude the Saturation block from coverage.
1
In the Simulink Editor, right-click the Saturation block.
2
Select Coverage > Exclude this block.
3
Click in the Rationale field for this new rule and enter text for excluding this
transition, for example, Input never <= lower limit (0).
4
Save this rule to the current filter. Click Apply.
5
Simulate the model again and review the results.
The Filtered Blocks section of the report lists the Saturation block. Coverage for
that block is omitted from the report.
Vedere la pagina 510
1 2 ... 506 507 508 509 510 511 512 513 514 515 516 ... 673 674

Commenti su questo manuale

Nessun commento