Review Simulink Models

Applies to Collaborator 14.6, last modified on November 06, 2024

Collaborator supports reviewing MathWorks Simulink models that are exported as web view archives.

Note: Reviewing Simulink models is only supported in Collaborator Enterprise edition. For a complete list of differences between Collaborator editions, see the comparison page.
The Collaborator Visual Studio Extension and Eclipse Plug-in do not support reviewing Simulink models. Use the Web Client instead.

Requirements

  • MathWorks Simulink version 2018-2021, 2022b, 2024a with Simulink Report Generator is installed.
  • Models, exported from 2022a, cannot be processed in Collaborator now.
  • Collaborator Enterprise edition is installed.
  • (Optional.) Collaborator Simulink Reviewer App is installed in Simulink and configured.

View Differences

The UI displays differences between two revisions of a Simulink model in a side-by-side layout. Diff Viewer can highlight differences in block properties, differences in embedded code, as well as differences in graphical objects: changes are yellow, additions are green and deletions are red.

Reviewing Simulink models

Click the image to enlarge it.

Selecting a block will display its properties in the right side of the revision pane. Changes in property values are highlighted as well.

Display options

The Display panel has specific options for Simulink model review.

  • When the Show diff based on block properties option is enabled Diff Viewer will highlight blocks whose properties have been added, deleted or changed.
  • When the Show diff based on image comparison option is enabled Diff Viewer will highlight graphical objects that have been added, deleted or changed.
  • When the Show diffs in nested levels option is enabled Diff Viewer will highlight parent block as changed when some of its nested blocks have changes.

Additionally it has several options that affect text comparison of block properties: Ignore Whitespace, Ignore Capitalization, Ignore Sequence Number.

Make comments and mark defects

On the left of the main Diff Viewer page, there is a pane for chat threads, where you can view and make comments and mark defects that should be fixed. When reviewing Simulink models, you can create global, annotation, overall for file revision, element and label comments and defects. Comment and defect description could be in plain-text or use rich-text and Markdown formatting, they could also mention other Collaborator users.

To comment on a specific element of a model, click the desired element (block, property, line and so on) in the content view, type your comment in the text box and click Add. To add defects, click the desired element in the content view, type the defect description, click Add as defect and fill-in the required fields.

Alternatively, you may specify an arbitrary label, such as "Header section", to describe the content you are referring to.

To learn more about communicating during the reviews, see Types of Review Comments and Defects and Review Chats, Comments, and Defects topics.

Technical details and limitations

  • To export Simulink models as web view archive you should have MathWorks Simulink version 2018-2021, 2022b, 2024a with Simulink Report Generator installed.

  • To use the Collaborator Simulink Reviewer App you should have MathWorks Simulink version 2019-2021, 2022b, 2024a with Simulink Report Generator installed.

  • Models, exported from 2022a, cannot be processed in Collaborator now.

  • Any Collaborator user can upload Simulink archive to Collaborator server.

  • When exporting models as web view archive, Simulink does not export complete information about a model. Consequently, some information will not be available to Collaborator and cannot be reviewed.

  • "Running MATLAB on a headless server, or any other remote workflow, is currently not supported. While it is possible that MATLAB and Simulink may run successfully, it is not guaranteed and the technical support MathWorks can provide will be limited".

    The issue could be due to some missed libraries.

    If customers are experiencing difficulties with running Simulink they should contact Mathworks support.

See Also

Review Materials
Diff Viewer

Collaborator Simulink Model Support
 
Highlight search results