一、测试框架创建
1. Create a Test Harness For a Top Level Model
To create a test harness for a top-level model (including subsystem and model reference models):
1.1 Right-click in the Simulink® model and click Test Harness > Create for Model to open the Create Test Harness dialog box.
1.2 After selecting the desired options, click OK to create the test harness.
也可以使用下面的方法:
I :打开Apps--Simulink Test
II:On the Tests tab, click SAdd Test Harness