Main Content

showChanges

View changes to contents of Simulink Interface Dictionary in comparison viewer

Description

example

showChanges(dictObj) opens the Comparison Tool window and displays changes to the dictionary since it was last saved. The Comparison Tool shows the differences in the Simulink design data properties. Changes made to platform properties are not shown.

Examples

collapse all

To open the Comparison Tool window and display changes to the dictionary since it was last saved, use the showChanges function. For an example that shows more of the workflow for related functions, see Create and Configure Interface Dictionary.

showChanges(dictAPI);

Image of standalone comparison tool

Input Arguments

collapse all

Interface dictionary, specified as a Simulink.interface.Dictionary object. Before you use this function, represent the target dictionary with a Simulink.interface.Dictionary object by using Simulink.interface.dictionary.create or Simulink.interface.dictionary.open.

Version History

Introduced in R2022b