Function Reference
— Built-in Function: [status, msg, msgid] = mkdir (dir)
— Built-in Function: [status, msg, msgid] = mkdir (parent, dir)

Create a directory named dir in the directory parent.

If successful, status is 1, with msg and msgid empty character strings. Otherwise, status is 0, msg contains a system-dependent error message, and msgid contains a unique message identifier.

See also: rmdir