Main Content
build
Class: matlabtest.coder.TestCase
Namespace: matlabtest.coder
Description
generates C code using MATLAB® for a MEX target from a function that requires
no inputs, buildResults
= build(testCase
,fcnName
)fcnName
, in the equivalence
test case testCase
. In addition to generating the C code,
build
compiles the code and generates an executable.
specifies options using one or more name-value arguments in addition to the input arguments
in previous syntaxes.buildResults
= build(___,Name=Value
)
Input Arguments
Output Arguments
Examples
Tips
By default, the test case generates code in a temporary directory. To preserve the generated files, use the
PreserveInFolder
name-value argument.
Version History
Introduced in R2023a