coder.ignoreConst
防止使用常数赋值的表达式nction specializations
Description
coder.ignoreConst(
prevents the code generator from using the constant value ofexpression
)expression
to createfunction specializations.coder.ignoreConst(expression)
returns the value ofexpression
.
Examples
Input Arguments
More About
Tips
For some recursive function calls, you can use
coder.ignoreConst
to force run-time recursion. SeeForce Code Generator to Use Run-Time Recursion.coder.ignoreConst(expression)
prevents the code generator from using the constant value ofexpression
to create function specializations. It does not prevent other uses of the constant value during code generation.
See Also
Introduced in R2017a