Application compiler command line
13 views (last 30 days)
Show older comments
Hello,
is there a possibility to use the application compiler just by command line? I want to automate the build of an executable using the application compiler. I have to use that compiler because of its nice features: installer, splash screen, Icon, include a lot of files in the deployment etc.
It would be great if there's any possibility to automate that.
Regards,
Christian
0 Comments
Answers (2)
Walter Roberson
on 30 Mar 2017
Yes. The command name for the Application Compiler is applicationCompiler . If you give multiple arguments on the command line then instead of the command being launched interactively, the deploy tool command line parser will be run on whatever you pass. This looks to be the same as if you had invoked deploytool directly, but invoking deploytool would make more sense. For your purposes, there is one useful argument:
% DEPLOYTOOL -build projectname will build an existing project
% from the Command Line Interface.
0 Comments
Mahesh Pai
on 29 Mar 2017
I understand that you would like to know how use the application compiler via command line. I am assuming that by application compiler you actually mean MATLAB compiler. You can use the "mcc" command in a script or the command line and pass various options that would help you configure the deployment. Have a look at the documentation link below for more information on the same:
See Also
Categories
Find more on Standalone Applications 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!