Hi,
In order to stop auto generation of test harness you will have to detach the harness form the model, follow the below steps in order to do so:
- From the individual harness model, on the Apps tab, under Model Verification, Validation, and Test, click Simulink Test.
- In the Harness tab, click Detach and Export.
- In the Export Test Harness to Independent Model dialog box, click OK.
- In the Save As dialog box, enter a filename for the standalone harness model and click OK.
- The harness converts to a standalone model
Converting removes the harness from the main model and breaks the relationship to the main model. If a model has only one harness, its harnessInfo.xml file is deleted. If a model has more than one harness and you delete one of them, the harnessInfo.xml file is updated
Saving the model after detaching the harness should solve your problem.
Take a look at below documentation for more information.
- Manage Test Harness: https://www.mathworks.com/help/sltest/ug/manage-test-harnesses.html
Hope it helps!