tt = return_dirs(path)
Add here a paragraph of the function description. Other paragraph can be added
Add here a paragraph of the function description
Add here scilab instructions and comments
//return_dirs //entrée : path chemin du repertoire racine //sortie : tt nom des répertoires contenu dans le repertoire racine function tt=return_dirs(path) files=listfiles(path); k=1; tt=[]; for i=1:size(files,'*') if isdir(path+files(i)) then tt(k)=files(i); k=k+1; end end endfunction