slreportgen.report.TestSequence Class
Namespace: slreportgen.report
Superclasses: slreportgen.report.Reporter
Test Sequence block reporter
Description
Use an object of the slreportgen.report.TestSequence class to report on a
Simulink®
Test Sequence block. Using a Test Sequence block in a
Simulink model requires Simulink
Test™.
By default, a TestSequence reporter generates:
Property tables for all of the symbols — input, output, local, constant, parameter, and data store memory
A nested list for the step hierarchy
Details for each step including the step description,
Whencondition, action statements, and a table of transition conditions and next steps
If the Test Sequence block uses scenarios, the TestSequence
reporter includes the scenario parameter in the parameters table and a list for each scenario
in the step hierarchy. In the report, scenarios are identified by the scenario icon. The
active scenario is also identified by the word Active followed by the
active scenario icon. For example:
![]()
The reporter adds a note to the report when the active scenario is controlled in the workspace. In this case, the active scenario is not identified in the report.
Use the TestSequence reporter properties to filter the content and
customize the content formatting.
Note
To use an slreportgen.report.TestSequence reporter in a report, you
must create the report using the slreportgen.report.Report class or
subclass.
The slreportgen.report.TestSequence class is a handle class.
Creation
Description
creates an empty reporter = slreportgen.report.TestSequenceTestSequence reporter object based on the default
template. You must specify a Test Sequence block to report by setting the
Object
property. Use other properties to specify report options.
creates a reporter = slreportgen.report.TestSequence(testSeqObject)TestSequence reporter and sets the Object
property to the specified Test Sequence block.
sets the reporter properties using name-value arguments. You can specify multiple name-value arguments in any order.reporter = slreportgen.report.TestSequence(Name=Value)
Properties
Methods
Examples
Version History
Introduced in R2020b
See Also
Test Sequence (Simulink Test)