Simulink.SubSystem.getChecksum
Return checksum of nonvirtual subsystem
Description
[
returns the checksum of the specified nonvirtual subsystem. Simulink® computes the checksum based on the subsystem parameter settings and the blocks
the subsystem contains. Virtual subsystems do not have checksums.checksum,details]
= Simulink.SubSystem.getChecksum(subsys)
One use of this command is to determine why code generated for a subsystem is not being reused.
Note
Simulink.SubSystem.getChecksum compiles the model that contains
the specified subsystem, if the model is not already in a compiled state. If you need to
get the checksum for multiple subsystems and want to avoid multiple compiles, use the
command , to
place the model in a compiled state before using
model([], [], [], 'compile')Simulink.SubSystem.getChecksum.
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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2006b