MATLAB Function Reference
  Go to function:
    Search    Help Desk 
mkdir    See Also

Make directory

Syntax

Description

mkdir('parentdir') creates the directory dirname in the current directory.

mkdir('parentdir','newdir') creates the directory newdir in the existing directory parentdir.

status = mkdir('parentdir','newdir') returns 1 if the new directory is created successfully, 2 if it already exists, and 0 otherwise.

[status,msg] = mkdir('parentdir','newdir') returns a non-empty error message string when an error occurs.

See Also

copyfile



[ Previous | Help Desk | Next ]