How to visualize the values in Simulink test manager?

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

回答(1 个)

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

类别

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

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by