How to perform SIL/MIL Testing for Variant Subsystem block?

9 views (last 30 days)
How is it possible to test variant control block, subsystem, array for SIL/MIL testing?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Jun 2022
Edited: MathWorks Support Team on 1 Jun 2022
Refer to the model “slexVariantVnVWorkflow” which provides an example of a Variant subsystem. You can find this at the following documentation link:
 
  • The Variant Subsystem shown in the model has two choices :
  • Open Simulink Test Manager, and click on "New → Equivalence Test"
  • Create Parameter Sets
1) Create parameter sets and add the variant control variable with the respective value. Each parameter set aligns with a specific variant control value.
2) In the above example,there are two parameter sets corresponding to the variant control expressions speedConfig = 1 and speedConfig = 2.
3) For Simulation #1 (Normal mode):
4) For Simulation #2 (SIL mode):
5) Create Iterations and run test:

    More Answers (0)

    Categories

    Find more on Variant Systems in Help Center and File Exchange

    Products


    Release

    R2018b

    Community Treasure Hunt

    Find the treasures in MATLAB Central and discover how the community can help you!

    Start Hunting!