Main Content

本页采用了机器翻译。点击此处可查看英文原文。

sltest.testmanager.clear

从测试管理器中清除测试文件

说明

sltest.testmanager.clearSimulink® Test™ 测试管理器中清除所有测试文件。未保存的测试文件的更改不会被保存。

示例

示例

全部折叠

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

版本历史记录

在 R2015a 中推出