Main Content

sltest.testmanager.view

Launch the Simulink Test Manager

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

% Open the model for this example
openExample('sldemo_absbrake');

% 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;

Version History

Introduced in R2015a