Skip to Main Content Skip to Search
Product Documentation

Simulink.BlockDiagram.getChecksum - Return checksum of model

Syntax

[checksum,details] = Simulink.BlockDiagram.getChecksum('model')

Description

[checksum,details] = Simulink.BlockDiagram.getChecksum('model') returns the checksum of the specified model. Simulink software computes the checksum based on attributes of the model and the blocks the model contains.

One use of this command is to determine why the Accelerator mode in Simulink software regenerates code. For an example, see the demo slAccelDemoWhyRebuild.

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

This command returns the following output:

Tip

The structural checksum reflects changes to the model that can affect the simulation results, including:

Examples of model changes that do not affect the structural checksum include:

See Also

Simulink.SubSystem.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