This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

sltest.harness.rebuild

Rebuild test harness and update workspace entries and configuration parameter set based on main model

Syntax

sltest.harness.rebuild(harnessOwner,harnessName)

Description

sltest.harness.rebuild(harnessOwner,harnessName) rebuilds the test harness harnessName based on the main model containing harnessOwner. The function transfers the configuration set and workspace entries associated with harnessOwner to the test harness harnessName. The function also rebuilds conversion subsystems in the test harness.

Examples

collapse all

Rebuild the harness controller_harness, which is associated with the Controller subsystem in the f14 model.

f14;
sltest.harness.create('f14/Controller','Name','controller_harness');
sltest.harness.rebuild('f14/Controller','controller_harness');

Input Arguments

collapse all

Model or component handle, or path, specified as a character vector or double

Example: 1.9500e+03

Example: 'model_name'

Example: 'model_name/Subsystem'

The name of the harness, specified as a character vector.

Example: 'harness_name'

Introduced in R2015a