Create a new folder using matlab.

How can I create a new folder to save the outputs in matlab? Is there any certain function for it?
Thank you

 Accepted Answer

Yes. mkdir()
if ~exist(folderName, 'dir')
mkdir(folderName);
end

More Answers (0)

Categories

Tags

Asked:

ck
on 26 Jun 2016

Answered:

on 26 Jun 2016

Community Treasure Hunt

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

Start Hunting!