How do I add options to the "mcc" command used by "deploytool" apps?
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Nov 2022
Answered: MathWorks Support Team
on 1 Feb 2023
I want to be able to add options used by the "mcc" command in "deploytool" apps, such as "Production Server Compiler" and "Library Compiler", but I can't find where to do this. For example, I want to add a directory to include with the "mcc" command, which is normally done using:
mcc -I "some/directory/path"
Where do I go to add options to the "mcc" command used by "deploytool" apps?
Accepted Answer
MathWorks Support Team
on 3 Nov 2022
When packaging a project in "deploytool" apps, click the “Settings” option in the menu. In the “Additional parameters passed to mcc” textbox, you can add parameters to be passed to "mcc". For example, you could add something like the following:
-I “C:\path\to\directory\to\include”
These additional parameters will be included in the “mcc” command displayed by the project's “PackagingLog.html” file after packaging.
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!