Skip to Main Content Skip to Search
Product Documentation

cd - Set working folder in IDE

Syntax

wd=IDE_Obj.cd
IDE_Obj.cd(folder)

IDEs

This function supports the following IDEs:

Description

wd=IDE_Obj.cd assigns the IDE working folder to the variable, wd. which you reference via the IDE handle object, IDE_Obj.

IDE_Obj.cd(folder) sets the IDE working folder to 'folder'. 'folder' can be a path string relative to your working folder, or an absolute path. The intended folder must exist. cd does not create a folder. Setting the IDE folder does not affect your MATLAB Current Folder.

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

See Also

dir | load | open

  


Related Products & Applications

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

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