Real-Time Windows Target    

Setting the Working Directory from Desktop Icon

Your initial working directory is specified in the shortcut file you use to start MATLAB. To change this initial directory, use the following procedure:

  1. Right-click the MATLAB desktop icon, or from the program menu, right-click the MATLAB shortcut.
  2. Click Properties. In the Start in text box, and enter the directory path you want MATLAB to initially use outside of the MATLAB root directory.
  3. Click OK, and then start MATLAB. To check your working directory, type

  Initial Working Directory Setting the Working Directory from MATLAB