Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

mkdir - Make folder 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 folder to be created.

Description

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

Note that to delete a folder 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 folder.

Examples

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

mkdir(fsys,logs)

or

fsys.mkdir(logs)

Create a new folder, 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.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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