Documentation

sltest.harness.push

Push test harness workspace entries and configuration set to model

Syntax

sltest.harness.push(harnessOwner,harnessName)

Description

sltest.harness.push(harnessOwner,harnessName) pushes the configuration parameter set and workspace entries associated with the component under test from the test harness harnessName to the main model containing the model or component harnessOwner.

Examples

collapse all

Push the parameters of the harness controller_harness, which is associated with the Controller subsystem in the f14 model, to the f14 model.

f14;
sltest.harness.create('f14/Controller','Name','controller_harness');
sltest.harness.push('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

Was this topic helpful?