MATLAB: SIL- Test Harness

code generationEmbedded CoderhilMATLABmilsilsimulinksoftware in loop testingtest harnesstestingverification and valitation

I want create a SIL Test Harness. When I right click on the subsystem block I did't see the "Test Harness" option in the menu. Which Add-on i want to install for get this "TEST HARNESS" option???

Best Answer

Hi Ravi,
You would need to install "Simulink Test" + "Embedded Coder" products in order to create a "SIL test harness". Upon installing both of these, you should be able to right click on the Subsystem and see the "Test Harness" menu and should be able to select the "Verification" option to "SIL" in the Create Test Harness dialog.
Here is the link to the documentation that talks about how to go about configuring your model to create a SIL test harness:
https://www.mathworks.com/help/sltest/ug/silpil-verification-for-a-subsystem.html