Contenido principal

customizeReporter

Class: systemcomposer.rptgen.report.AllocationSet
Namespace: systemcomposer.rptgen.report

Create custom allocation set reporter class

Since R2022b

Syntax

classPathOut = customizeReporter(classPath,type)

Description

classPathOut = customizeReporter(classPath,type) creates an allocation set class definition file that is a subclass of the systemcomposer.rptgen.report.AllocationSet 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

Path and name of the new class definition file, specified as a character vector or string scalar.

ValueDescription
customizeReporter("myFolder/MyClass")Create MyClass.m in the subfolder myFolder of the current folder.
customizeReporter("myFolder/@MyClass")

Create the new class in a class folder by preceding the class name with the @ character. Do not specify the .m extension.

See Folders Containing Class Definitions.

customizeReporter("+myOrg/@MyClass")Create the new class in a class namespace by preceding the folder name with the + character.

Note

You can specify a relative path or an absolute path.

Data Types: string | char

Output Arguments

expand all

Path and file name of the new class, returned as a string scalar.

Version History

Introduced in R2022b