cd - Change directory on target PC

Syntax

MATLAB® command line

cd(file_obj,target_PC_dir)
file_obj.cd(target_PC_dir)

Arguments

file_obj

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

target_PC_dir

Name of the target PC directory to change to.

Description

Method of xpctarget.fsbase, xpctarget.ftp, and xpctarget.fs objects. From the host PC, changes directory on the target PC.

Examples

Change directory from the current to one named logs for the file system object fsys.

cd(fsys,logs) or fsys.cd(logs)

Change directory from the current to one named logs for the FTP object f.

cd(f,logs) or f.cd(logs)

See Also

xPC Target™ file object methods mkdir and pwd.

MATLAB cd function.

  


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