Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Input generation for Coverage testing

2 Ansichten (letzte 30 Tage)
Horace Lai
Horace Lai am 29 Apr. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi,
I have a Stateflow state machine that I want to do coverage testing on. It seems to me like the built in Simulink coverage tester shows the coverage that the model went through for 1 simulation. I would like to test the model to make sure that I go through all possible scenarios. To do this, I would have to create inputs to the Stateflow diagram so that it covers the whole code. Is there an automated way to create these inputs to the Stateflow chart so I don't have to do this part manually?
Thanks, Horace

Antworten (1)

Sebastian Castro
Sebastian Castro am 29 Apr. 2015
If you have Simulink Design Verifier, you can use this to generate test cases for full coverage.
- Sebastian

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by