cd - Set IDE working directory

Syntax

wd = cd(id)
cd (id,'directory')

Description

wd = cd(id) returns the current IDE working directory, where id is a ghsmulti object that refers to the Green Hills MULTI® window, or a vector of objects.

cd (id,'directory') sets the IDE working directory to 'directory'. 'directory' can be a path string relative to your current working directory, or an absolute path. The intended directory must exist. cd does not create a new directory. Setting the IDE directory does not affect your MATLAB® working directory.

cd alters the default directory for open and load. Loading a new workspace file also changes the working directory for the IDE.

See Also

dir

load

open

  


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