Hello,
I want to go to a certain folder by using cd and fullfile to have the path. But I have an error when I do my third line of code (below) telling: Error using cd Argument must contain a string. Could you help me please ?? I really don't understand my mistake since fullfile('E:\Dropbox (LMD)\Noémie\SpO2 Project\AltiTrainer\', Foldernames(i)) for i=1 gives me the right path !
Foldernames = cellstr(char('John', 'Peter', 'Jack') for i= 1: length(Foldernames) cd(fullfile('E:\Dropbox (LMD)\Noémie\SpO2 Project\AltiTrainer\', Foldernames(i))) Filenames(i) = dir('*_modif.csv'); A = readcsv(Filenames(i)); end
Thank you very much for wour answer !
NoNo
Best Answer