Documentation

sltest.testmanager.view

Launch the Simulink Test Manager

Syntax

sltest.testmanager.view

Description

example

sltest.testmanager.view launches the Simulink® Test™ Manager interface. You can also use the function sltestmgr to launch the Test Manager.

Examples

collapse all

% Create the test file, test suite, and test case structure
tf = sltest.testmanager.TestFile('API Test File');
ts = createTestSuite(tf,'API Test Suite');
tc = createTestCase(ts,'baseline','Baseline API Test Case');

% Assign the system under test to test case
setProperty(tc,'Model','sldemo_absbrake');

% Open Test Manager to view and edit test case
sltest.testmanager.view;

Introduced in R2015a

Was this topic helpful?