Navigation

Operators and Keywords

Function List:

C++ API

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

Create a directory named dir in the directory parent.

If no parent directory is specified the present working directory is used.

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

When creating a directory permissions will be set to 0777 - umask.

See also: rmdir, pwd, cd, umask.

Package: octave