| Contents | Index |
You can automatically generate a SystemTest test harness from a model in Simulink. It will create and configure all of the appropriate parts of the test, including elements, test vectors, and mappings.
The following steps are automatically performed from your model:
Creates a SystemTest test.
Creates a Simulink element.
Creates a Test Case Data test vector.
Automatically maps each Inport block to the corresponding signal of the test vector in the Simulink element.
Creates signals with names that match the root-level Inport block names.
Sets up the data type of each signal based on the Inport blocks' data type.
If the signal has buses, sets up the signals' data type for the Inport block using buses as data, and matches the hierarchy of the bus in the test case.
Automatically sets up the model name and location in the Simulink element for top-level models with root-level inports and outports.
![]() | Generating a SystemTest Test Harness from a Simulink Model | Prerequisites | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |