mkdir - Make directory on target PC

Syntax

MATLAB® command line

mkdir(file_obj,dir_name)
file_obj.mkdir(dir_name)

Arguments

file_obj

Name of the xpctarget.ftp or xpctarget.fs object.

dir_name

Name of the directory to be created.

Description

Method of xpctarget.fsbase, xpctarget.ftp, and xpctarget.fs objects. From the host PC, makes a new directory in the current directory on the target PC file system.

Note that to delete a directory from the target PC, you need to reboot the PC into DOS or some other operating system and use a utility in that system to delete the directory.

Examples

Create a new directory, logs, in the target PC file system object fsys.

mkdir(fsys,logs)

or

fsys.mkdir(logs)

Create a new directory, logs, in the target PC FTP object f.

mkdir(f,logs) or f.mkdir(logs)

See Also

xPC Target™ file object methods dir and pwd.

MATLAB mkdir function.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS