User`s guide

mcc
are added to the CTF archive, and the directory subtree in tes tdir
is preserved in the CTF archive.
If a wildcard pattern is included in the filename, only the files in the
directory that match the pattern are added to the CTF archive and
subdirectories of the given path are not processed recursively. For
example:
mcc -m hello.m -a ./testdir/*
In this example, all files in ./testdir are added to the CTF archive and
subdirectories under
./testdir are not processed recursively.
mcc -m hello.m -a ./testdir/*.m
In this example, all files with the extension .m under ./test dir are
added to the C TF archive and subdirectories of
./testdir are n ot
processed recursively.
Note C urrently, * is the only supported wildcard.
All files added to the CTF archive using -a (including those that m atch
a wildcard pattern or appear under a directory specified using
-a)that
do not appear on the MATLAB path at the time of com pilation will
cause a path entry to be added to the deployed application’s run-time
path so that they will appear on the path when the deployed application
or component is executed.
When file s are included, the absolute path for the DLL and header files
is changed. The files are placed in the
.\exe_mcr\ folder when the CTF
file is expanded. The file is not placed in the local directory. This folder
gets created from the CTF file the first time the EXE file is executed.
The
isdeployed function is provided to help you accommodate this
difference in deployed mode.
11-18