Main Content



Create custom component reporter class

Since R2022b


reporter = customizeReporter(classpath,type)


reporter = customizeReporter(classpath,type) creates a component class definition file that is a subclass of the class. The file is created at the specified classpath location. The customizeReporter method also copies the default component templates to the <classpath>/resources/template folder. Use the new class definition file as a starting point to design a custom component class for your report.

Input Arguments

expand all

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

Output Arguments

expand all

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

Version History

Introduced in R2022b