mcc Command Arguments Listed Alphabetically
Option | Description | Comment |
---|---|---|
-? | Display help message. | Cannot be used in a deploytool app. |
| Add | If you specify a folder name, all files in the folder are
added. If you use a wildcard ( |
-b | Generate Excel® compatible formula function. | Requires MATLAB®
Compiler™ for Excel add-ins. Cannot be used in a
|
-B
filename [:arg[,arg]] | Replace | The file should contain only
Cannot be used in a
|
-c | Generate C wrapper code. | Equivalent to |
-C | Direct | |
-d directory | Place output in specified folder. | The specified folder must already exist. Cannot be used in a
deploytool app. |
-e | Suppresses appearance of the MS-DOS Command Window when generating a standalone application. | Use The standalone app compiler suppresses the MS-DOS command window by default. To enable it, deselect Do not display the Windows Command Shell (console) for execution in the Additional Runtime Settings area. |
-f filename | Use the specified options file, |
|
-g | Generate debugging information. | |
-G | Same as | |
-I directory | Add folder to search path for MATLAB files. | |
-K | Directs | Default behavior is to dispose of any partial output if the command fails to execute successfully. |
-l | Create a function library. | Equivalent to |
-m | Generate a standalone application. | Equivalent to |
-M string | Pass string to | Use to define compile-time options. |
-n | Automatically treat numeric inputs as MATLAB doubles. | Cannot be used in a |
-N | Clear the path of all but a minimal, required set of folders. | Uses the following folders:
|
-o outputfile | Specify name of final output file. | Adds appropriate extension. Cannot be used in a
|
-p directory | Add folder to compilation path in an order-sensitive context. | Requires |
| Specify run-time options for MATLAB Runtime. | Valid only for standalone applications using MATLAB Compiler.
|
-s | Obfuscate folder structures and file names in the deployable
archive ( | |
-S | Create singleton MATLAB Runtime. | Default for generic COM components. Valid for Microsoft® Excel and Java® packages. |
-T | Specify the output target phase and type. | Default is |
-u | Registers COM component for current user only on development machine. | Valid only for generic COM components and Microsoft Excel add-ins. |
-v | Verbose; display compilation steps. | |
| Display warning messages. |
where
|
| Control the generation of function wrappers. |
Cannot be
used in a |
| Ignore data files detected by dependency analysis. | For more information, see Dependency Analysis Using MATLAB Compiler. |
-Y licensefile | Use | The >>!mcc -m foo.m -Y license.lic |
-Z option | Specify method of including support packages. |
|
Packaging Log and Output Folders
By default, the deployment app places the packaging log and the Testing Files, End User Files, and Packaged Installers folders in the target folder location. If you specify a custom location, the app creates any folders that do not exist at compile time.