retrieve version inside AppDesigner appplication (.mlapp file)
15 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Image Analyst
2024 年 5 月 27 日
編集済み: Image Analyst
2024 年 5 月 27 日
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 件のコメント
Image Analyst
2024 年 5 月 28 日
編集済み: Image Analyst
2024 年 5 月 28 日
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.
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!