Skip to content

mkdir

miscellaneous · scripts/miscellaneous/mkdir.m

: mkdir (folder)
: mkdir (parent, folder)
: [status, msg, msgid] = mkdir (…)

Create folder, including any missing intermediate folders.

status is true when the folder was created or already exists. When the folder already exists msg and msgid describe that; when creation fails they carry the system error. Without output arguments problems are reported as warnings.