Cannot open file using imread
Ältere Kommentare anzeigen
I am trying to load images from a folder but I keep getting an error: "Error using imread (line 347) Cannot open file "./ARL_Stimuli_psych/" for reading. You might not have read permission." Also I am using psychtoolbox and the statistics toolbox
allSTIM=cell(1,length(trialseq_b));
for i=1:2:length(trialseq_b)
allSTIM{i} =imread(sprintf('./ARL_Stimuli_psych/%s',stimseq_b{i}));
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image display and manipulation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!