Main Content

sltest.harness.showDialog

Show test harness dialog box

Description

sltest.harness.showDialog(dialogtype,systemundertest) opens a test harness dialog box of the specified type for the specified system under test.

Example

example

Examples

collapse all

Open the Create Test Harness dialog box for the Controller component of my_model.

 sltest.harness.showDialog('HarnessCreate','my_model/Controller')
 

Input Arguments

collapse all

Type of test harness dialog box specified as one of these values:

  • 'HarnessCreate' — Create Test Harness dialog box

  • 'HarnessManager' — Manage Test Harness dialog box

  • 'HarnessImport' — Import Test Harness dialog box

Simulink model or component being tested, specified as a character vector or string of the path to the system under test, or as the handle of the system under test.

Version History

Introduced in R2018b