How to visualize the values in Simulink test manager?

조회 수: 5 (최근 30일)
Sohan
Sohan 2024년 1월 25일
답변: Selena Mastrodonato 2024년 1월 25일
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
Selena Mastrodonato 2024년 1월 25일
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