path
View or change search path
Description
path
displays the MATLAB® search path, which is stored in pathdef.m
.
p = path(___)
returns the MATLAB search path as a character vector. You can use this syntax with any of
the input argument combinations in the previous syntaxes.
Examples
Input Arguments
Alternative Functionality
As an alternative to the path
function, use the Set Path dialog
box. To open the Set Path dialog box, on the Home tab, in the
Environment section, click Set
Path.
You can also use the addpath
function to add multiple
folders to the search path.
Version History
Introduced before R2006a