testFile = sltest.testmanager.createTestsFromModel(filePath,modelName,testType)
generates test cases based on the model structure. The function creates test cases from test
harnesses and Signal Editor scenarios in the model and assigns them to a test file.
Create a new test file with new test cases in the Test Manager. Each test
case uses a Signal Editor scenario.
% Open the model for this example
openExample('sldemo_autotrans');
testFile = sltest.testmanager.createTestsFromModel...
('C:\MATLAB\TestFile.mldatx','sldemo_autotrans','baseline')
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.