sldv.test
Test objective function for Stateflow charts and MATLAB Function blocks
Syntax
Description
sldv.test(
specifies that
expr
)expr
is true when generating tests. 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.test
test objectives within code or separate
the objectives into a verification script.
The Test objectives option in the Test
generation pane applies to test objectives represented by the
sldv.test
function and by the Test Objective block.
Examples
Input Arguments
Alternatives
Instead of using the sldv.test
function, you can insert a Test Objective block in your model. To learn about the differences between
Test Objective blocks and sldv.test
, see What Is Test Case Generation?.
Version History
Introduced in R2009b