Effacer les filtres
Effacer les filtres

creating folders in matlab

1 vue (au cours des 30 derniers jours)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya le 22 Jan 2016
How can I create folders by name 1,2,3,4 in a directory

Réponses (1)

Walter Roberson
Walter Roberson le 22 Jan 2016
targetdirectory = 'ThePlaceToPutThem';
for K = 1 : 4
foldername = fullfile(targetdirectory, sprintf('%d', K));
mkdir(foldername);
end

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by