How to copy scenario in test sequence

6 次查看(过去 30 天)
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.

更多回答(0 个)

类别

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

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by