Comparing output of different simulink model versions - Simulink Test

Is there any method to compare the output of different model versions using Test manager? I have several output signals which may change according to the modifications on the model. I would like to get to know the changes in the output signals for different test harness. Is there any possibility on the Test manager?

1 Comment

How about including both model in test harness master model using Model Reference block, execute the test and compare result.

Sign in to comment.

 Accepted Answer

Hi,
If you want to compare the results from two test cases, you can use equivalence test case in Test Manager. Please see the following link as a reference. https://www.mathworks.com/help/sltest/examples/test-two-simulations-for-equivalence.html
If you want to use one test result as a baseline and compare several test cases' results to this baseline result, you can use baseline test case in Test Manager. Please see the following link as a reference. https://www.mathworks.com/help/sltest/ug/set-up-a-baseline-test-case.html

1 Comment

For the link in the first paragraph above about comparing two test cases, see this documention instead:

Sign in to comment.

More Answers (0)

Products

Release

R2017b

Asked:

on 15 May 2018

Edited:

Deb
on 24 Sep 2024

Community Treasure Hunt

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

Start Hunting!