I am using the test manager to run the tests in a model. In my Test Sequence editor I make a call to the following code as the last step.
coder.extrinsic('bdroot');coder.extrinsic('set_param');set_param(bdroot, 'SimulationCommand', 'stop');
This stops the model from being run. Since all the verify statements have been tested and passed they all turn green. However the Results, Test Suite and Test Case all say incomplete.
How can I have the test manager say the tests are complete despite stopping the simulation?
Best Answer