Documentation

sltest.testmanager.getTestFiles

Get test files open in the Test Manager

Syntax

testFiles = sltest.testmanager.getTestFiles

Description

example

testFiles = sltest.testmanager.getTestFiles returns an array of test files that are currently open in the Test Manager. The array contains an sltest.testmanager.TestFile object for each test file.

Examples

collapse all

You can use the sltest.testmanager.getTestFiles function to get sltest.testmanager.TestFile objects for each test file open in the Test Manager.

Load test files in the Test Manager that you want to get the objects for.

% Get test files from Test Manager
testFiles = sltest.testmanager.getTestFiles

Output Arguments

collapse all

Test files that are open in the test manager, returned as an array of sltest.testmanager.TestFile objects.

Introduced in R2016b

Was this topic helpful?