Proof objective function for Stateflow charts and MATLAB Function blocks
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.
Instead of using the sldv.prove
function, you can insert a Proof Objective block in your model. Using sldv.prove
instead of a Proof Objective block offers several benefits, described in 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.
Proof Assumption | Proof Objective | sldv.condition
| sldv.prove
| sldv.test
| Test Condition | Test Objective