mcc Command Line Arguments Grouped by Task
COM Components
Option | Description | Comment |
---|---|---|
-u |
Registers COM component for current user only on development machine |
Valid only for generic COM components andMicrosoft®Excel®add-ins (requiringMATLAB®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 |
MATLABCompilerforExcelAdd-Ins
Option | Description | Comment |
---|---|---|
-b |
Generate Excel compatible formula function. |
RequiresMATLAB Compiler |
-u |
Registers COM component for current user only on development machine |
Valid only for generic COM components andMicrosoft Exceladd-ins (requiringMATLAB Compiler) |
MATLABPath
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运行时
Option | Description | Comment |
---|---|---|
|
Specify run-time options forMATLAB Runtime. |
|
-S |
Create SingletonMATLAB Runtime. |
Default for generic COM components. Valid forMicrosoft Exceland 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, unselectDo not display the Windows Command Shell (console) for executionin theAdditional Runtime Settingsarea. |
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. |
|