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

9 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-6-1
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:

    更多回答(0 个)

    类别

    Help CenterFile Exchange 中查找有关 Variant Systems 的更多信息

    产品


    版本

    R2018b

    Community Treasure Hunt

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

    Start Hunting!

    Translated by