MATLAB Report Generator | ![]() ![]() |
Category
Description
The Model Change Log component uses a reported model's ModifiedHistory
parameter to construct a model history table that displays information about each logged revision to the model. This model history table can contain information about any of the following:
To see the model revision history parameters, select Model Properties from the model's File menu. This will display the Block Diagram Properties dialog box. The Model Properties tab in this dialog box contains the model revision history parameters.
The Options tab in the Block Diagram Properties dialog box controls how the version number is incremented. The History tab controls history updates and lets you edit the ModifiedHistory
string. You must select the Prompt For Comments When Save option from the Modified History Update drop box in order to save your revisions. This component will not run if the model's ModifiedHistory
parameter is empty or if you edit the parameter in such a way that the Report Generator cannot parse it; in these cases, the Comment component will not be able to produce the table.
For more information on the Block Diagram Properties dialog box and model history, see the Simulink documentation.
Note that if your model has a long revision history, you may want to limit the number of revisions reported.
The Model Change Log component should run before the Model Simulation component.
Attributes
This is the Model Change Log attribute page.
Note To view a component attribute page in the Setup File Editor, select the component in the setup file outline on the left and click on the Options tab. If the component is not in the setup file outline, you must add it to the outline first. See Building and Editing the Setup File for a discussion on how to add a component to the outline. |
Table Columns
You can choose the information displayed in the model revision table in this section.
Table Display
You can choose how the model revision history table is displayed in this section.
Example
This is an example of a report generated from a setup file with the Model Change Log component.
Insert anything into report?
Filename
![]() | Block Type: Scope Snapshot | Model Functions | ![]() |