Main Content

sltest.testmanager.clear

Clear test files from the Test Manager

Description

sltest.testmanager.clear clears all test files from the Simulink® Test™ Test Manager. Changes to unsaved test files are not saved.

example

Examples

collapse all

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

% Clear test file from test manager
sltest.testmanager.clear;

Version History

Introduced in R2015a