Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

cd - Change folder 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 folder to change to.

Description

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

Examples

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

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

Change folder 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.

  


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