create folders using matlab

4 views (last 30 days)
shaz
shaz on 9 Nov 2012
i need a folder of this structure
folderA-----> FolderB------->FolderC,FolderD,FolderE
basically folderA contains FolderB & FolderB contains FolderC,FolderD & FolderE

Accepted Answer

Image Analyst
Image Analyst on 9 Nov 2012
Edited: Image Analyst on 9 Nov 2012
Use this:
mkdir(['folderA/folderB/folderC/folderD/folderE']);
folderA could also contain a drive, like 'D:\myFolder'.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!