git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
55ebec1
Branches
Tags
master
SVMCrossVal.git
private
getImageFileList.m
SPM2 compatibilität begonnen
Christoph Budziszewski
commited
55ebec1
at 2009-05-20 16:17:09
getImageFileList.m
Blame
History
Raw
function fileList = getImageFileList(subjectdir,sessionlist,mask) fileList = []; switch getSPMVersion case 'SPM5' for session = sessionlist; [sessionFileList dd] = spm_select('FPList',fullfile(subjectdir,getSessionDirName(session)),mask); fileList = [fileList; sessionFileList]; end otherwise for session = sessionlist; sessiondir = fullfile(subjectdir,getSessionDirName(session)); fileList = strvcat(fileList, getFilteredFileList(sessiondir,mask,1)); end end % fileList end