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 clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.