I installed MATLAB R2015a, downloaded Caffe, successfully built and tested it(did 'make runtest' and 'make mattest' without any failure), and also downloaded 'piotr's matlab toolbox'.
The problem is that when I run the code, I get an error like the image below.
cnnPyramid just calls addpath function in line 13, as below.
The directory ~/caffe/matlab/ looks like this. I created an symbolic link by typing "ln -sf ~/caffe/matlab/+caffe ~/caffe/matlab/caffe".
I tried changing line 13 to
addpath(['~/caffe' '/matlab/']);
In this case, the warning disappears, but 'Undefined function or variable 'caffe' error still exists.
I also tried following, but here another warning occurs.
addpath(['~/caffe' '/matlab/+caffe']);
I guess that the error "Undefined function or variable 'caffe'" occurs because of this warning, but I couldn't figure out the way to solve this problem.
How can I solve this problem? Any help would be appreciated.
Thanks.