MATLAB: I cannot open a file from external hard disk

pen drive read file

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

Best 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']));
Related Question