Main Content
assumeExecutionMatchesMATLAB
Class: matlabtest.coder.TestCase
Namespace: matlabtest.coder
Assume that generated C/C++ code execution results match MATLAB results
Since R2023a
Syntax
Description
assumeExecutionMatchesMATLAB(
assumes that the execution results specified by testCase
,executionResults
)executionResults
for
the C/C++ code generated by MATLAB®
Coder™ match the execution of the MATLAB source code in the equivalence test case testCase
.
assumeExecutionMatchesMATLAB(
returns diagnostic information specified by testCase
,executionResults
,diagnostic
)diagnostic
.
assumeExecutionMatchesMATLAB(___,
specifies options using one or more name-value arguments in addition to the input arguments
in previous syntaxes.Name=Value
)
Input Arguments
Examples
Version History
Introduced in R2023a
See Also
Classes
matlabtest.coder.TestCase
|matlabtest.coder.results.ExecutionResults
|matlab.unittest.qualifications.Assumable