How can I retrieve the version number of a standalone application created using MATLAB application compiler?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 23 Feb. 2016
Bearbeitet: MathWorks Support Team
am 6 Apr. 2020
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?
Akzeptierte Antwort
MathWorks Support Team
am 6 Apr. 2020
Bearbeitet: MathWorks Support Team
am 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.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!