create folders using matlab

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!