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

9 vues (au cours des 30 derniers jours)
How is it possible to test variant control block, subsystem, array for SIL/MIL testing?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 1 Juin 2022
Modifié(e) : MathWorks Support Team le 1 Juin 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:

    Plus de réponses (0)

    Catégories

    En savoir plus sur Variant Systems dans Help Center et File Exchange

    Produits


    Version

    R2018b

    Community Treasure Hunt

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

    Start Hunting!

    Translated by