MATLAB Report Generator    
Model Change Log

Component

Model Change Log

Category

Simulink

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.

Limit displayed revisions to:
Select this option to limit the number of revisions that is displayed in the report and enter the number in the corresponding text field.

Table Columns

You can choose the information displayed in the model revision table in this section.

Author name
Select this option if you want to include the name of the person responsible for the revision of the model.
Version
Select this option if you want to include the version number of the model.
Date changed
Select this option if you want to include the date on which the model was revised.
Description of change
Select this option if you want to include a description of the revision to the model.

Table Display

You can choose how the model revision history table is displayed in this section.

Table title:
Enter the title of the table in this field.
Display table border
Select this option if you want to place a border around the table.

Example

This is an example of a report generated from a setup file with the Model Change Log component.

Insert anything into report?

Yes. Table.

Filename

csl_mdl_changelog


  Block Type: Scope Snapshot Model Functions