coder.nonInlineCall
Syntax
Description
evaluates out
= coder.nonInlineCall(functionCall
)functionCall
and prevents the inlining of this function in the
generated code. The functionCall
can take one or more input arguments and
can return a single output. Use coder.nonInlineCall
when you want to
simplify the mapping between the MATLAB® source code and the generated code. The coder.nonInlineCall
function overrides coder.inline
directives in the called function.
The coder.nonInlineCall
function does not prevent the inlining of:
Empty functions
Functions that return constant output
To prevent inlining even in these situations, use the coder.ignoreConst
(MATLAB Coder) function on an input at the function call site in your
MATLAB code. For more information, see Resolve Issue: coder.inline("never") and coder.nonInlineCall Do Not Prevent Function Inlining (MATLAB Coder).
calls the function with handle [out1,...,outN]
= coder.nonInlineCall(handle
,arg1,...,argN
)handle
, which can have one or more input
arguments, and instructs the code generator not to inline this function in the generated
code. The specified function can have more than one output.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2024a