This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Load a test file in the Simulink Test manager


tfObj = sltest.testmanager.load(filename)



tfObj = sltest.testmanager.load(filename) loads a test file in the Simulink® Test™ manager.


collapse all

In this example, the test file is from the Override Model Parameters in a Test Case example.

% Path to the example test file
exampleFile = fullfile(matlabroot,...

% Load the example test file

% View the test file in the test manager

Input Arguments

collapse all

File name of a test file, specified as a character vector. The character vector must fully specify the location of the test file.

Example: 'C:\MATLAB\test_file.mldatx'

Output Arguments

collapse all

Test file, returned as an sltest.testmanager.TestFile object.

Introduced in R2015a