If you encounter this problem, change either the function name or file name so that they
are the same. If you have difficulty locating the file that uses this function, use the
MATLAB Find Files utility as follows:
1
On the Home tab, in the File section, click Find Files.
(^2) Under Find files named: enter *.m
(^3) Under Find files containing text: enter the function name.
(^4) Click the Find button
Make Sure the Toolbox Is Installed
If you are unable to use a built-in function from MATLAB or its toolboxes, make sure that
the function is installed.
If you do not know which toolbox supports the function you need, search for the function
documentation at https://www.mathworks.com/help. The toolbox name appears at
the top of the function reference page.
Common Errors When Calling Functions