Main Content


Class: slreportgen.finder.BlockResult
Package: slreportgen.finder

Get block reporter


reporter = getReporter(blockResult)


reporter = getReporter(blockResult) returns a reporter that generates a properties table for the block in the result.

Input Arguments

expand all

Search result object for a block, specified as an slreportgen.finder.BlockResult object.

Output Arguments

expand all

Simulink object properties reporter, returned as one of these values:

  • Block-specific reporter object, when the Report API includes a reporter for the block. For example, the getReporter method returns an object when the search result represents a DocBlock block.

  • An object, when the Report API does not include a reporter specific to the block. A SimulinkObjectProperties reporter generates a properties table for the block.

Version History

Introduced in R2017b