User`s guide

mcc
therelativeorderingoftheincludeddirectories. All subdirectories
of the included directories that appear on the original path are also
included. In addition, the
-N option retains all directories that the user
has included on the path that are not under
matlabroot/toolbox.
-o Specify Output Name
Specify the name of the final ex ecutab le (standalone applications only).
Use
-o outputfile
to name the final executable output of MATLAB Compiler. A suitable,
possibly platform-dependent, extension is added to the specified name
(e.g.,
.exe for Windows standalone applications).
-p Add Directory to Path
Used in conjunction with required option -N to add specific directories
(and subdirectories) under
matlabroot/toolbox to the compilation
MATLAB path in an order sensitive way. U se the syntax:
-N -p directory
where d irectory 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 subdirectories that appear on the
original path are added to the compilation path in an order-sensitive
context.
If a directory is includ ed 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 p ath is added 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 o rder-sensitive context as if it w ere included with
-p.Otherwise,
11-23