sldv.prove
Proof objective function for Stateflow charts and MATLAB Function blocks
Syntax
Description
sldv.prove(
specifies that
expr
)expr
is true for every evaluation while proving properties.
Use any valid Boolean expression for
expr
.
This function has no output and
no impact on its parenting function, other than
any indirect side effects of evaluating
expr
. If you issue this function from the MATLAB® command line, the function has no
effect.
Intersperse sldv.prove
proof assumptions within the code or
separate the assumptions into a verification script.
Examples
Input Arguments
Alternatives
Instead of using the sldv.prove
function, you can insert a Proof Objective block in your model. To learn about the differences between
Proof Objective blocks and sldv.prove
, see What Is Property Proving?.
You can also specify a proof objective by using MATLAB for code generation without using the sldv.prove
function. Using sldv.prove
instead of directly using MATLAB for code generation eliminates the need to:
Express the objective by using a Simulink block.
Explicitly connect the proof output to a Simulink block.
Version History
Introduced in R2009b