sltest.stmv2.migrate.importFile
R2026bSyntax
Description
Note
The redesigned Simulink® Test Manager is a tech preview in R2026b. The primary purpose of the tech preview is to provide early access to the most common testing workflows. For more information about supported workflows, see Overview of the Redesigned Simulink Test Manager (Tech Preview).
To enable the feature, click the New Test Manager button in the
existing Test Manager or use the sltest.stmv2.open function at
the command line.
imports the MLDATX test file, importedFiles = sltest.stmv2.migrate.importFile(mldatxPath)mldatxPath, converts the file into
SLTEST files for use in the redesigned Test Manager, saves the SLTEST files
in the same folder as the MLDATX file, and returns SLTEST file paths. If the MLDATX test
file contains test cases for multiple models, the function creates one SLTEST file for
each model.
saves the SLTEST files in the folder importedFiles = sltest.stmv2.migrate.importFile(mldatxPath,importFolder)importFolder.
saves the SLTEST file with the file name importedFiles = sltest.stmv2.migrate.importFile(mldatxPath,importFolder,fileName)fileName.
imports the MLDATX test file and creates a default run settings file and runlist.importedFiles = sltest.stmv2.migrate.importFile(___,CreateRunSettings=true)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b