Application compiler command line

33 次查看(过去 30 天)
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

回答(2 个)

Walter Roberson
Walter Roberson 2017-3-30
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 2017-3-29
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 个评论
Christian D
Christian D 2017-3-30
No, I actually mean the application compiler, which is something like an app.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by