mkdir
Create a directory.
Syntax
Section titled “Syntax”mkdir(dirname)mkdir(parentdir, dirname)[status, message, messageid] = mkdir(...)Description
Section titled “Description”Creates a directory. With one argument, creates dirname in the current working directory; with two, creates dirname inside parentdir. Intermediate directories are created automatically as needed.
Examples
Section titled “Examples”mkdir('output')mkdir('runs', '2026-04-28')