| MATLAB Compiler | ![]() |
Generating Files
You can use the -t option of the Compiler to generate source files in addition to wrapper files. For example,
mcc -W main -h x.m
examines x.m and all M-files referenced by x.m, but generates only the x_main.c wrapper file. However, including the -t option in
mcc -W main -h -t x.m
generates x_main.c, x.c, and all M-files referenced by x.m.
| Supported Executable Types | MEX-Files | ![]() |