Class: sltest.testmanager.TestFile
Package: sltest.testmanager
(To be removed) Create test harness and test case for subsystem in test file
sltest.testmanager.TestFile.createTestForSubsystem
will be
removed in a future release. Use sltest.testmanager.createTestForComponent
instead. For more information,
see Compatibility Considerations .
tc = createTestForSubsystem(tf,'Subsystem',subsystem)
tc = createTestForSubsystem(tf,'Subsystem',subsystem,Name,Value)
creates a harness on the specified subsystem, model reference block, Stateflow chart, or
another supported model component (see Test Harness and Model Relationship.
It also creates a baseline test case and test suite in the specified teExcel®st file. This function also simulates the model
and adds the input and the output files to the test case, as MAT-files. For more
information, see Generate Tests and Test Harness for a Component or Model.tc
= createTestForSubsystem(tf
,'Subsystem',subsystem
)
uses additional options specified by one or more tc
= createTestForSubsystem(tf
,'Subsystem',subsystem
,Name,Value
)Name,Value
pair
arguments. Use this syntax to use Microsoft®
Excel files as input and output files.