Main Content

Simulink.SubsystemReference.showSignatureDiffDialogForSS

Open dialog to show difference in signatures of two subsystem blocks

Since R2023a

Description

example

Simulink.SubsystemReference.showSignatureDiffDialogForSS(subBlock1,subBlock2,CodeGenOrSimulation) opens a dialog to show the difference in the signatures of the subsystem blocks subBlock1 and subBlock2. CodeGenOrSimulation specifies whether the signatures are generated to simulate or build a model.

Examples

collapse all

Consider two subsystem blocks Speed Control-1 and Speed Control-2 with signatures generated in the context of code generation. Use the command to open a dialog to see the difference in their signatures.

Simulink.SubsystemReference.showSignatureDiffDialogForSS(...
                                  'Speed Control-1','Speed Control-2',1)

Input Arguments

collapse all

Subsystem block in a model, specified as a string or character vector.

Example: Speed Control-1

Data Types: char | string

Subsystem block in a model, specified as a string or character vector.

Example: Speed Control-2

Data Types: char | string

Option to specify the use of signatures of the subsystem blocks in a model, specified as 0 or 1.

  • 0 — Use signatures to simulate a model.

  • 1 — Use signatures to generate code for a model.

Example: 1

Data Types: logical

Version History

Introduced in R2023a