COM Components
| Option | Description | Comment |
|---|---|---|
-u | Registers COM component for current user only on development machine | Valid only for generic COM components and Microsoft® Excel® add-ins (requiring MATLAB® Compiler™) |
Deployable Archive
| Option | Description | Comment |
|---|---|---|
| Add | None |
-C | Directs | None |
Debugging
| Option | Description | Comment |
|---|---|---|
-g | Generate debugging information. | None |
-G | Same as | None |
-K | Directs |
|
-v | Verbose; display compilation steps. | None |
| Control the generation of function wrappers. |
|
-? | Display help message. | None |
Dependency Function Processing
| Option | Description | Comment |
|---|---|---|
| Add | None |
Licenses
| Option | Description | Comment |
|---|---|---|
-Y licensefile | Use | The >>!mcc -m foo.m -Y license.lic |
MATLAB Compiler for Excel Add-Ins
| Option | Description | Comment |
|---|---|---|
-b | Generate Excel compatible formula function. | Requires MATLAB Compiler |
-u | Registers COM component for current user only on development machine | Valid only for generic COM components and Microsoft Excel add-ins (requiring MATLAB Compiler) |
MATLAB Path
| Option | Description | Comment |
|---|---|---|
-I directory | Add folder to search path for MATLAB files. | MATLAB path is automatically included when running from MATLAB, but not when running from a DOS/UNIX® shell. |
-N | Clear the path of all but a minimal, required set of folders. | None |
-p directory | Add | Requires |
mbuild
| Option | Description | Comment |
|---|---|---|
-f filename | Use the specified options file, |
|
-M string | Pass string to | Use to define compile-time options. |
MATLAB Runtime
| Option | Description | Comment |
|---|---|---|
| Specify run-time options for MATLAB Runtime. |
|
-S | Create Singleton MATLAB Runtime. | Default for generic COM components. Valid for Microsoft Excel and Java® packages. |
Override Default Inputs
| Option | Description | Comment |
|---|---|---|
-B filename[:arg[,arg]] | Replace | The file should contain only
|
Override Default Outputs
| Option | Description | Comment |
|---|---|---|
-d directory | Place output in specified folder. | None |
-o outputfile | Specify name of final output file. | Adds appropriate extension |
-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 unsuppress it, unselect Do not require Windows Command Shell (console) for execution in the app’s Additional Runtime Settings area. |
Wrappers and Libraries
| Option | Description | Comment |
|---|---|---|
-c | Generate C wrapper code. | Equivalent to |
-l | Macro to create a function library. | Equivalent to |
-m | Macro to generate a standalone application. | Equivalent to |
| Control the generation of function wrappers. |
|