How can I retrieve the version number of a standalone application created using MATLAB application compiler?

15 views (last 30 days)
I have created a standalone application with specific version using MATLAB application compiler. On deployment machine, how can I check the version number of a standalone application after installing it using web installer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Apr 2020
Edited: MathWorks Support Team on 6 Apr 2020
For MATLAB releases R2019b or later:
Standalone application file version (Windows only) is available since R2019b. The version value can be reviewed by right clicking on the EXE file, selecting "Properties" and then selecting "Details".
For MATLAB releases before R2019b:
When installing a standalone application using web installer, the web installer shows the version number of a standalone application. However, there is no way to retrieve the version number of a standalone application after installing it using web installer. The developers are informed of this enhancement. One workaround to this issue could be to include the following command in a MATLAB script and then compiling it to a standalone application:
>> h = msgbox('Version number: <your_app_version_number>');
In this case, replace <your_app_version_number> with whatever version number you want to display with the message (ex: V1.02).
This will display a message box containing version number of an application on a deployment machine.
Alternatively, you can also include a code in your MATLAB script to write a text file which contains information regarding author, version and so on. For that, "fprintf" command in MATLAB can be used.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!