Main Content

customizeReporter

Class: systemcomposer.rptgen.report.SequenceDiagram
Namespace: systemcomposer.rptgen.report

Create custom sequence diagram reporter class

Since R2022b

Syntax

reporter = customizeReporter(classpath,type)

Description

reporter = customizeReporter(classpath,type) creates a sequence diagram class definition file that is a subclass of the systemcomposer.rptgen.report.SequenceDiagram class.

The customizeReporter method creates the file at the specified classpath location. The method also copies the default allocation list templates to the <classpath>/resources/template folder. Use the new class definition file as a starting point to design a custom allocation list class for your report.

Input Arguments

expand all

Location of custom class, specified as the current working folder, a string, or a character array. The classpath argument also supports specifying a folder with @ before the class name.

Output Arguments

expand all

Reporter path, returned as a string specifying the path to the derived report class file.

Version History

Introduced in R2022b