MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guida Utente Pagina 259

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 674
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 258
Basic Approach to Component Verification
11-7
Verify a Model Block in the Context of the Container Model
Use system analysis to verify a Model block in the context of the block's container model.
Use this technique when you analyze a closed-loop controller.
The recommended steps for system analysis:
1
Log the input signals to the component by simulating the container model.
or
Analyze the model using the Simulink Design Verifier™ software.
2
If you want to add test cases to your test suite or modify existing test cases, create a
harness model using the logged signals.
3
Add or modify test cases in the Signal Builder in the harness model.
4
Log the input signals from the Signal Builder to the test unit.
5
Repeat steps 3 and 4 until you are satisfied with the test suite.
6
Merge the test case data into a single file.
7
Depending on your goals, do one of the following:
Execute the test cases to:
Record coverage.
Record output values and make sure that they equal the expected values.
Invoke the Code Generation Verification (CGV) API to execute the test cases in
Software-in-the-Loop (SIL) or Processor-in-the-Loop (PIL) mode on the generated
code for the model.
If the test cases do not achieve the desired results, repeat steps 3 through 5.
Vedere la pagina 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 673 674

Commenti su questo manuale

Nessun commento