git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
0766232
Branches
Tags
master
SVMCrossVal.git
private
getImageFileList.m
heavy CrossVal Toolbox development. unusable snapshot!
Christoph Budziszewski
commited
0766232
at 2009-02-03 14:36:11
getImageFileList.m
Blame
History
Raw
function fileList = getImageFileList(des,use_smoothed_image_hack) global USE_DRIVE_CHECK_HACK; fileList = des.xY.VY; nFiles = length(fileList); if USE_DRIVE_CHECK_HACK if fileList(1).fname(1)~='D' for z=1:nFiles % Change Drive Letter - HACK! fileList(z).fname(1) = 'D'; end; end end if ~use_smoothed_image_hack for z=1:nFiles % Change smoothed Filename - HACK! % D:....SUBJECTID\session\swfanders... % D:....SUBJECTID\session\wfanders... tmp = findstr(filesep,fileList(z).fname); fileList(z).fname = strcat(fileList(z).fname(1:tmp(end)),fileList(z).fname(tmp(end)+2:end)); end; end end