retrieve version inside AppDesigner appplication (.mlapp file)
12 views (last 30 days)
Show older comments
Does anyone know how to retrieve (programmatically) the version inside an .mlapp file?
This property is available on top level of the GUI, in picture below it is 1.02. I'd like to display it in a text label in the app.
0 Comments
Answers (1)
Image Analyst
on 27 May 2024
Edited: Image Analyst
on 27 May 2024
Did you try
s = ver('MATLAB');
releaseYear = s.Release(2:end-1);
releaseVersion = s.Version;
fprintf('You are using MATLAB Release %s, version number %s.\n', releaseYear, releaseVersion);
app.yourTextBox.Value = releaseVersion;
5 Comments
Image Analyst
on 28 May 2024
Edited: Image Analyst
on 28 May 2024
You or others might find the attached utility useful. It reads an XML file into a structure, which is more familiar, convenient, and easy to use for most of us.
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!