Accessing Version Details Programmatically, App designer
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, In appdesigner there is an option to keep track of the version number for sharing. Is there away to access this programatically. I want to include it in the startup function and display it in the figure name
app.UIFigure.FigureName= ......
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1771590/image.png)
0 commentaires
Réponses (1)
nick
le 13 Sep 2024
Hi Jason,
The version of the app in MATLAB App Designer can't be accessed directly with a property.
As a workaround, you can have a file called VersionNumber.txt in your folder in which you can store the version number. You can then read the file using the function 'fileread' to access the version number.
You can refer to the following documentation to learn more about the function 'fileread':
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!