Application compiler command line
13 ビュー (過去 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
0 件のコメント
回答 (2 件)
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.
0 件のコメント
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:
参考
カテゴリ
Help Center および File Exchange で Standalone Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!