sldvchecksum
Description
returns the checksum
= sldvchecksum(model
)checksum
of the model passed as the input argument. The
checksum represents the state of the model being analyzed.
returns the checksum
= sldvchecksum(system
)checksum
for the specified component
system
. The component system
must be an atomic
subsystem or a Model block.
Examples
Input Arguments
Output Arguments
Tips
Any modification to the model that alters the simulation outcome impacts the checksum. For
more information on when the checksum of the model changes, see Tip in
Simulink.BlockDiagram.getChecksum
.
Additionally, the checksum of a model in Simulink Design Verifier changes, if:
The value of any parameter in the model changes.
The minimum and maximum values specified on the input ports changes.
The checksum of a model does not change if:
The model contains MATLAB System blocks and you modify the source code of the System object™ to which the MATLAB System blocks refer.
You modify the custom block replacement rules for the model.
Note
The checksum of a single model may not match in different MATLAB® versions due to internal changes.
Version History
Introduced in R2021a