git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
c54095b
Branches
Tags
master
SVMCrossVal.git
private
getImageFileList.m
refactored to arg-structs! (untested)
Christoph Budziszewski
commited
c54095b
at 2009-01-29 16:25:27
getImageFileList.m
Blame
History
Raw
function fileList = getImageFileList(des,use_unsmoothed_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_unsmoothed_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