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

8 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2021 年 10 月 19 日
編集済み: MathWorks Support Team 2024 年 10 月 21 日
How is it possible to test variant control block, subsystem, array for SIL/MIL testing?

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 10 月 21 日
編集済み: MathWorks Support Team 2024 年 10 月 21 日
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 Center および File ExchangeVariant Systems についてさらに検索

    製品


    リリース

    R2018b

    Community Treasure Hunt

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

    Start Hunting!

    Translated by