Matlab compiler adding version info
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hannes Trogmann
le 12 Fév 2019
Réponse apportée : Faez Alkadi
le 5 Déc 2021
Hello
I currently work with the Matlab Compiler App (Matlab 2017b) and would like to add the version number to be able to check which version is used by the customer. I have already tried to set the values in the corresponding field
![2019-02-12 10_26_32-MATLAB Compiler - USControlTool.prj.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203743/image.jpeg)
However it is not written into the exe version info (sorry it is german) Dateiversion or at least Produktversion should contain the value.
![2019-02-12 10_29_51-Eigenschaften von USControlTool.exe.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203744/image.jpeg)
I found already the suggestion to use AssemlyInfo.cs which does not help in my case .
Has anyone a suggestion or need some additional informations?
Bg
Hannes
2 commentaires
Adam
le 12 Fév 2019
I put my version number in the installer filename e.g. MyAppName_v1_4.
It's not ideal though since you don't know after you have installed it which version it is, so I have taken to adding an 'About...' dialog to my GUIs now in which I put version information, which is certainly more work. I've never actually looked at Windows version information though.
Réponse acceptée
Mohan Feng
le 15 Fév 2019
Unfortunately, there is not a way to add the version number in MATLAB Compiler APP. The development team has been informed about the enhancement request.
As a workaround, you can create the standalone application with the version number appended to the name of the application. For example, the application name can be myApplication_v1_0_5. This would allow multiple installations of various versions in the same system as well as have the version name in the application's shortcut.
I am sorry about the inconvenience that may cause.
Plus de réponses (1)
Faez Alkadi
le 5 Déc 2021
Hannes,
On Matlab 2021b and you could change the version number from the App "SHARING DETAILS" you could also show the version number on the top left corner of your App by changing the UI Figure name through "IDENTIFIERS" section.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/824045/image.png)
.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/824050/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/824050/image.png)
0 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!