How to visualize the values in Simulink test manager?

5 vues (au cours des 30 derniers jours)
Sohan
Sohan le 25 Jan 2024
I'm using test sequencer with simulink test manager to verify a few statements using verify syntax. but I want to see the values also in the Visualize window in Simulink test manager. how can I see the vaues there?
example
verify(isequal(x,10), 'Error message', 'x value is Incorrect')
The avove statement will print the x value in logs only when the verify statement is false. How can I get the value in visualize window of simulink test manager..

Réponses (1)

Selena Mastrodonato
Selena Mastrodonato le 25 Jan 2024
Hi @Sohan,
I think you have to add the simulation output in your test cases, so 'Sim Output' will appear below 'Verify Statement'.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by