Undefined function 'caffe_'for input arguments of type'char'

When I run code in matlab2014a, there is always an error:

Undefined function 'caffe_'for input arguments of type'char'.
Error in net_surgery(line10)
caffe_('reset');

The PC resource: ubuntu 14.04

and I have added the matcaffe path to matlab. The code as follows:

if exist(fullfile(caffe_root,'/matlab/+caffe/private'),'dir')
    addpath(fullfile(caffe_root,'/matlab/+caffe/private'));
else
    warnning('Please install Caffe in %s', caffe_root);
end

what can I do for it? Someone can help me? Thanks very much.

Answers (0)

Categories

Asked:

on 10 Apr 2017

Edited:

on 10 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!