It appears that the code never uses the indicated local function or nested function because:
There is no obvious call of the function.
The code does not compute a function handle for the function.
The code does not include a character vector containing the name of the function.
If the code had such a character vector, Code Analyzer would not
produce this message because it would indicate that the character
vector might be passed to feval
or a
callback.
MATLAB used ways of calling the function that Code Analyzer cannot detect.
Although you intend to call the function eventually, you have not yet written the code that calls it.
If the message is correct, but the situation is temporary, consider placing the function definition within a block comment. This makes your intention clear and is easy to reverse.
If machine-generated files contain stubs or template functions that you must complete to obtain the behavior you want, consider keeping this message enabled as a reminder that you still have work to do.
If the message is wrong, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.