User`s guide

Deploying to End Users
It also retains a ll subdirecto ries of th e above list that appear on the MATLAB
path a t compil e time. Inclu ding
-N on the command line al lows yo u to re pl ace
directories from the original path, w hi le retaining the re la tive orderin g of
the included directories. All subdirectories of the included directories that
appear on the origina l path are also in clu d ed . In addition, the
-N option
retains all directories that the user has included on the path that are not
under
matlabroot/toolbox.
Use the
-p option to add a directory to the compilation path i n an
order-sensitive context, i.e., the same order in which they are found on your
MATLAB path. The syntax is
p <directory>
where <directory> is the directory to be included. If <directory > is not an
absolute path, it is assumed to be under the current working directory. The
rules for how these directories are included are
If a directory is included with
-p that is on the original MATLAB path, the
directory and all its s ubdirectories that appear on the original path are
addedtothecompilationpathinanorder-sensitivecontext.
If a directory is included with
-p that is not on the original MATLAB path,
that directory is not included in the compilation. (You can use
-I to add it.)
If a path is a dded with the
-I option while this feature is active (-N has
been passed) and it is already on the MATLAB path, it is added in the
order-sensitive context as if it were included with
-p.Otherwise,the
directory is added to the head of the path, as it normally w ould be with
-I.
Note The -p option requires the -N option on the mcc command line.
4-19