slreportgen.report.SimulinkObjectProperties Class
Namespace: slreportgen.report
Superclasses: slreportgen.report.Reporter
Simulink object properties reporter
Description
The SimulinkObjectProperties
reporter generates tables that list the
properties and property values of Simulink® objects.
Note
To use a Simulink object properties reporter in a report, you must create the
report using the slreportgen.report.Report
class.
The slreportgen.report.SimulinkObjectProperties
class is a handle
class.
Creation
Description
creates an empty Simulink object properties reporter. Use the reporter
= SimulinkObjectPropertiesObject
property to specify the object to report.
To specify the list of Simulink object properties to include in the generated properties
table, use the Properties
property of the reporter. If you do not specify
any properties, the reporter includes a default set of properties based on
the object type. For example, the property table for a block includes the
properties set by its parameter dialog box.
To customize the format of the generated property table, use the PropertyTable
property.
Note
This reporter compiles the model containing the object to be reported if the model is not already compiled. Compiling the model is necessary to propagate values to properties that are unspecified when the model has not been compiled. The model is uncompiled when you close the report that contains the generated property table.
creates a reporter that generates a table listing the property values of the
specified Simulink object.reporter
= SimulinkObjectProperties(obj
)
sets properties using name-value pairs. You can specify multiple name-value
pair arguments in any order.reporter
= SimulinkObjectProperties(Name=Value
)
Input Arguments
Properties
Methods
Examples
Version History
Introduced in R2017b