Borrar filtros
Borrar filtros

creating folders in matlab

1 visualización (últimos 30 días)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya el 22 de En. de 2016
Respondida: Walter Roberson el 22 de En. de 2016
How can I create folders by name 1,2,3,4 in a directory

Respuestas (1)

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

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by