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')