User`s guide

Verify Generated Code for a Component
12-5
slvnvlogsignals stores the logged signals in loggedSignalsPlant.
5
Generate an empty harness model so that you can create new test cases manually:
harnessModelFilePath = ...
slvnvmakeharness('slvnvdemo_powerwindow_controller');
slvnvmakeharness creates a harness model named
slvnvdemo_powerwindow_controller_harness. The harness model includes:
Test Unit — A Model block that references the
slvnvdemo_powerwindow_controller model.
Inputs — A Signal Builder block that contains one test case. That test
case specifies the values of the input signals logged when the model
slvnvdemo_powerwindow was simulated.
Test Case Explanation — A DocBlock block that describes the test case.
Size-Type — A Subsystem block that transmits signals from the Inputs block to
the Test Unit block. The output signals from this block match the input signals
for the Model block you are verifying.
moveUp and moveDown — Two output ports that match the output ports from
the Model block.