Application compiler command line

13 visualizzazioni (ultimi 30 giorni)
Christian D
Christian D il 21 Mar 2017
Risposto: Walter Roberson il 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

Risposte (2)

Walter Roberson
Walter Roberson il 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 il 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 Commento
Christian D
Christian D il 30 Mar 2017
No, I actually mean the application compiler, which is something like an app.

Accedi per commentare.

Categorie

Scopri di più su Standalone Applications in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by