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

15 ビュー (過去 30 日間)
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?

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 4 月 6 日
編集済み: MathWorks Support Team 2020 年 4 月 6 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by