How can I retrieve the version number of a standalone application created using MATLAB application compiler?
8 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2016-2-23
编辑: MathWorks Support Team
2020-4-6
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!