createTestForSubsystem
Class: sltest.testmanager.TestFile
Namespace: sltest.testmanager
(Not recommended) Create test harness and test case for subsystem in test file
sltest.testmanager.TestFile.createTestForSubsystem is not
recommended. Use sltest.testmanager.createTestForComponent instead. For more information,
see Version History.
Syntax
tc = createTestForSubsystem(tf,'Subsystem',subsystem)
tc = createTestForSubsystem(tf,'Subsystem',subsystem,Name,Value)
Description
creates a harness on the specified subsystem, Model 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 Excel® 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 Harnesses for a Model or Components.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.