Main Content

sltest.harness.load

Load test harness

Description

sltest.harness.load(harnessOwner,harnessName) loads the harness harnessName into memory. harnessName is associated with the model or component harnessOwner.

Examples

collapse all

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

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

Version History

Introduced in R2015a