Make new folder
mkdir
creates
the folder folderName
folderName
. If folderName
exists, MATLAB® issues
a warning. If the operation is not successful, mkdir
throws
an error to the Command Window.
mkdir
creates parentFolder
folderName
folderName
in parentFolder
. If
parentFolder
does not exist, MATLAB attempts to create it.
creates the
specified folder and returns a status of status
= mkdir(___)1
if the operation
is successful or if the folder exists. Otherwise, mkdir
returns 0
and does not throw a warning
or error to the Command Window. You can use this syntax with any of the input
argument combinations in the previous syntaxes.