Main Content

Simulink.SubsystemReference.showSignatureDiffDialogForUnitTests

Open dialog to show difference in signatures of subsystem reference instance with unit test signatures

Since R2023a

    Description

    example

    Simulink.SubsystemReference.showSignatureDiffDialogForUnitTests(ssrefInstance) opens a dialog to show the difference in signatures of the subsystem reference instance ssrefInstance with the captured unit test signatures of the subsystem reference block in the test harnesses.

    Examples

    collapse all

    Consider a subsystem file slexReusableSS with two unit tests ssref1_double and ssref1_int32. The signature of an instance of slexReusableSS, slexModelUsingReusableSS/sr3 does not match any of the unit test signatures. Use the command to open a dialog to see the difference in signatures.

    Simulink.SubsystemReference.showSignatureDiffDialogForUnitTests('slexModelUsingReusableSS/sr3')

    Input Arguments

    collapse all

    Instance of the subsystem file in a model, specified as a string or character vector.

    Example: slexModelUsingReusableSS/sr3

    Data Types: char | string

    Version History

    Introduced in R2023a