coder.mfunctionname
Description
returns the name of
the function or method in whose body this function call is placed. For anonymous functions,
name
= coder.mfunctionnamename
contains the function definition.
When debugging your MATLAB® code or the generated code, use this function to access the name of the currently running function or method.
Examples
Output Arguments
Extended Capabilities
Version History
Introduced in R2021b