Simulink.SubSystem.getChecksum - Return checksum of subsystem

Syntax

[checksum,details] = Simulink.SubSystem.getChecksum(subsys)

Description

[checksum,details] = Simulink.SubSystem.getChecksum(subsys) returns the checksum of the specified subsystem. Simulink® software computes the checksum based on subsystem parameter settings and the blocks the subsystem contains.

One use of this command is to determine why code generated for a subsystem is not being reused. For an example, see Determining Why Subsystem Code Is Not Reused in the Real-Time Workshop® documentation.

This command accepts the argument subsys, which is the full name or handle of the atomic subsystem block for which you are returning checksum data.

This command returns the following output:

See Also

Simulink.BlockDiagram.getChecksum

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS