How can I rebuild a test harness linked to a library block?

5 views (last 30 days)

When I create a test harness on a model, I have the option to rebuild the test harness to reflect changes within the model. Why can I not rebuild a test harness linked to a library block?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Mar 2020
This is currently a limitation within the software. Test harnesses can only be rebuild if they are linked to a model and not when built of a library block.
The suggested workaround would be to test a model that includes the library block. This way the model can reflect any changes made within the library and the model harness can be rebuilt to reflect those changes.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!