MATLAB Answers

How to build a standalone application programmatically in R2019a?

4 views (last 30 days)
In the current MATLAB Compiler documentation there is a section on how to "Create Standalone Application Using Application Compiler App" that includes instructions on how to do this programmatically (e.g., "Create Standalone Application Using Application Compiler App"). Similar instructions do not exist in the R2019a documentation and I can't find any documentation on an alternative. Is it possible to build a standalone application programmatically in R2019a, or am I relegated to using the GUI only?
  2 Comments
Monika Jaskolka
Monika Jaskolka on 11 Aug 2021
There is the section "Create Standalone Application Using Application Compiler App", but it lacks any instructions on how to do it programmatically. It only contains GUI-based instructions.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 11 Aug 2021
I never use the GUI app, deploytool, to compile me apps. I always have a script where I call mcc programmatically because I want to do things, like ask the user (myself) if they've updated the version number, perhaps ask which m-files to compile (if there is a whole suite of them), time how long the compilation takes, and things like that. I have a script called compile.m and in there I call mcc to do the compilation programmatically, along with other things.
  1 Comment
Monika Jaskolka
Monika Jaskolka on 11 Aug 2021
Thanks! This is what I was looking for. I have a few follow-on questions.
  1. Is there a way to fill in the "Additional Information" such as Author Name, Company Name, Description, Email, etc.?
  2. Is there a way to suppress the extra output files mccExcludedFiles.log and readme.txt?

Sign in to comment.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!