Desktop Tools and Development Environment Previous page   Next Page

Removing Directories from the Search Path

To remove directories from the MATLAB search path using the Set Path dialog box,

  1. Select the directories to remove.
  2. Click Remove. The directories are removed from the path.
  3. To use the newly modified search path in future sessions, click Save. For more information about saving the path, see Saving Settings to the Path.
  4. Click Close. If you did not save the changes in the previous step, the directories are removed from the search path until you end the current MATLAB session.

Function Alternative.   To remove directories from the search path, use rmpath.

You can include rmpath statements in your startup M-file to automatically modify the path when MATLAB starts. For details see Modifying the Path in a startup.m File.


Previous page  Moving Directories Within the Search Path Restoring the Default Search Path Next page

© 1994-2005 The MathWorks, Inc.