How to copy scenario in test sequence

4 visualizaciones (últimos 30 días)
浩 程
浩 程 el 13 de Sept. de 2024
Comentada: 浩 程 el 13 de Sept. de 2024
Hello! I want to copy scenario in test sequence,but i can't find the api.

Respuesta aceptada

Vandit
Vandit el 13 de Sept. de 2024
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.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by