i cannot open a file from external hard disk

addpath(genpath([H:\D\codes\scene understanding\codetsu\codetsu,'\codetsu'])); savepath; Undefined function or variable 'H'.

 Accepted Answer

Didn't enclose the path in quotes so Matlab's trying to interpret it.
addpath(genpath(['H:\D\codes\scene understanding\codetsu\codetsu','\codetsu']));

More Answers (0)

Answered:

dpb
on 9 Apr 2014

Community Treasure Hunt

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

Start Hunting!