Why a function can not be recognized by matlab?
addpath('C:\Program Files\MATLAB\R2013a\toolbox\stats\stats')
in the main function run.m. It still doesn't work. I set the directory of my Matlab to 'C:\Program Files\MATLAB\R2013a\toolbox\stats\stats', then run the examples of zscore. However, it does not work. Why? Then I copy"zscore.m" to my directory, it works. A new problem occurs:
Undefined function 'cumsum' for input arguments of type 'char'.