Template for Block Replacement Rules
To help you create block replacement rules, the Simulink Design Verifier software
provides an annotated M-file template that contains a skeleton implementation
of the requisite callbacks. You can find the template at:
matlabroot/toolbox/sldv/sldv/sldvblockreplacetemplate.m
To create a block replacement rule, make a copy of the template
and edit the copy for the behavior that you want for the rule you
are creating. For information on how to implement your rule, see the
comments in the template. For information on using the template to
write custom block replacements rules, see Writing Block Replacement Rules.
 | Built-In Block Replacements | | Defining Custom Block Replacements |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit