Main Content
functiontests
Create array of tests from handles to local functions
Syntax
Description
tests = functiontests(
creates
an array of tests, f
)tests
, from a cell array of
handles to local functions, f
. To apply defined
setup and teardown functions, include their function handles in f
.
Local test functions must include ‘test’ at the
beginning or end of the function name. functiontests
must
be called from within a test file.
Examples
Input Arguments
Version History
Introduced in R2013b