Documentation

sltest.harness.delete

Delete test harness

Syntax

sltest.harness.delete(harnessOwner,harnessName)

Description

sltest.harness.delete(harnessOwner,harnessName) deletes the harness harnessName associated with harnessOwner.

Examples

collapse all

Delete the test 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.delete('f14/Controller','controller_harness');

Delete the test harness bd_harness, which is associated with the model f14.

f14;
sltest.harness.create('f14','Name','bd_harness');
sltest.harness.delete('f14','bd_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?