createTestForSubsystem
Class: sltest.testmanager.TestSuite
Namespace: sltest.testmanager
(Not recommended) Create test harness and test case for subsystem in test suite
sltest.testmanager.TestSuite.createTestForSubsystem is not
recommended. Use sltest.testmanager.createTestForComponent instead. For more information,
see Version History.
Syntax
tc = createTestForSubsystem(ts,'Subsystem',subsystem)
tc = createTestForSubsystem(ts,'Subsystem',subsystem,Name,Value)
Description
creates a harness on the specified subsystem and a baseline test case in the specified
test suite. This function also simulates the model and adds the input and the output
files to the test case as MAT-files. files. For more information, see Generate Tests and Test Harnesses for a Model or Components.tc = createTestForSubsystem(ts,'Subsystem',subsystem)
uses additional options specified by one or more tc = createTestForSubsystem(ts,'Subsystem',subsystem,Name,Value)Name,Value pair
arguments. Use this syntax to use Microsoft®
Excel® files as input and output files.