Application compiler command line

35 views (last 30 days)
Christian D
Christian D on 21 Mar 2017
Answered: Walter Roberson on 30 Mar 2017
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

Answers (2)

Walter Roberson
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.

Mahesh Pai
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:
  1 Comment
Christian D
Christian D on 30 Mar 2017
No, I actually mean the application compiler, which is something like an app.

Sign in to comment.

Categories

Find more on MATLAB Compiler 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!