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

Make directory

Syntax

Description

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

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

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

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

See Also

copyfileCopy file

[ Previous | Help Desk | Next ]