フィルターのクリア

creating folders in matlab

1 回表示 (過去 30 日間)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya 2016 年 1 月 22 日
回答済み: Walter Roberson 2016 年 1 月 22 日
How can I create folders by name 1,2,3,4 in a directory

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by