How to copy scenario in test sequence

4 ビュー (過去 30 日間)
浩 程
浩 程 2024 年 9 月 13 日
コメント済み: 浩 程 2024 年 9 月 13 日
Hello! I want to copy scenario in test sequence,but i can't find the api.

採用された回答

Vandit
Vandit 2024 年 9 月 13 日
Hello @浩 程,
The API for copying steps is not available in Simulink Test. However, to work around this issue please follow the below steps:
  • Use "addScenario", "findStep" (to find all steps within a scenario with "RegExp" option).
  • Then copy paste step by step in a scenario with the APIs "readStep", "addStepAfter", "addStepBefore" and "editStep".
Hope this helps.
  1 件のコメント
浩 程
浩 程 2024 年 9 月 13 日
(∩▽∩)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInputs についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by