Skip to Main Content Skip to Search
Product Documentation

Simulink.SubSystem.getChecksum - Return checksum of nonvirtual subsystem

Syntax

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

Description

[checksum,details] = Simulink.SubSystem.getChecksum(subsys) returns the checksum of the specified nonvirtual subsystem. Simulink software computes the checksum based on the 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 Determine Why Subsystem Code Is Not Reused in the Simulink Coder documentation.

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

This command returns the following output:

Tip

For information about the kinds of changes that affect the structural checksum, see the Simulink.BlockDiagram.getChecksum documentation.

See Also

Simulink.BlockDiagram.getChecksum

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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