Retrieve Compiled App Project Info at Runtime
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
<This Question> asked about retrieving version from compiled app; TMW Staff answered on Windows only by getting the details of the executable file manually.
Has anything improved since?
I would like to add an "Info" menu that would be able to read the project info in the compiler sections such as version and description to be able to display that to the user -- seems pointless to have the stuff in the project and not be able to retrieve it at runtime but I can't find anything in the doc that indicates can/how to do so.
0 Kommentare
Antworten (1)
Mario Malic
am 30 Okt. 2023
I haven't seen a property that says anything about app version, however, it's possible to get it if you extract the .mlapp file and find the info in the coreProperties.xml file (which is silly thing to do if you want to get app version).
Maybe you could add the version to the name property of the app, as you can extract it easier compared to above solution.
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!