MATLAB: How to use some downloaded function

functionMATLAB

I downloaded some functions files with a script file from Mathworks website. Every time I run this script, it tells me that these function are not recognized. How can I make MATLAB call them as the built-in functions?

Best Answer

Hello
In order to use downloaded function you can click on the Set Path in the home menu:
And then click on the add folder and choose the folder that contains your desire function; then click save.
Alternatively, you can use this:
addpath D:\whatever_your_function_is
% then
savepath