git.schokokeks.org
Repositories
Help
Report an Issue
SVMCrossVal.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
4801799
Branches
Tags
master
SVMCrossVal.git
private
listDirs.m
fbs timeline mod, model in base assignment
Christoph Budziszewski
commited
4801799
at 2009-04-26 01:52:49
listDirs.m
Blame
History
Raw
function dirs = listDirs(wd) % d = listDirs(dir) returns all directories below dir as a cell array. % the Structure is the same as from the 'dir' command (because this % function relies on 'dir' % .* is filterd. no intetion to include an option switch for those % special dirs. allfiles = dir(wd); nDirs = 1; for i = 1:size(allfiles) file = allfiles(i); if file.isdir && file.name(1)~='.' dirs{nDirs}=file; nDirs = nDirs +1; end end