Question: how to do addpath in matlab?
Answer: To open it, select Set Path from the File menu in the MATLAB desktop. addpath(' directory') prepends the specified directory to the current MATLAB search path, that is, it adds them to the top of the path. Use the full pathname for directory . addpath ('dir','dir2','dir3' ...)