If you change the system under test, you can synchronize the test cases to reflect the model changes. Also, if you remove model components, you can disable or delete test cases in the Test Manager when you synchronize.
Synchronizing your test file automatically creates a new test case for:
Each new scenario in the Signal Editor block at the top level of your model and the top level of each test harness. The model must have only one Signal Editor block at those levels to create a test case.
Each new test harness in the model.
To synchronize your test file:
In the Test Manager Test Browser pane, hover over the test file name that you want to update.
Click the synchronization button next to the test file name.
Follow the prompts to specify:
The type of test file to create for the new components
Whether to disable or delete out-of-date components
Disabled tests appear in the list in italic.