Fonction Scilab
eng - fr


return_dirs - retourne les répertoires présents dans un chemin

Librairie

Séquence d'appel

tt = return_dirs(path)

Paramètres

Description

Add here a paragraph of the function description. Other paragraph can be added

Add here a paragraph of the function description

Exemple

Add here scilab instructions and comments

Contenu du fichier


//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

Fonction(s) utilisée(s)

Add here the used function name and references

Auteurs

enter here the author name Add here the author references