フィルターのクリア

How to get Sharing Details in App Designer

25 ビュー (過去 30 日間)
Maxi
Maxi 2021 年 2 月 1 日
コメント済み: Anna H. 2024 年 7 月 24 日 13:03
Hello,
is there a method to get the sharing details of the App Designer into my code.
For example I want to display the version and name of the app somewhere in my GUI without programming it directly. So when I create a new version of my app I only have to change the information in the sharing details and it will be updated in my GUI automatically.
Thanks!
  7 件のコメント
Nico
Nico 2024 年 3 月 11 日
me too
Anna H.
Anna H. 2024 年 7 月 24 日 13:03
I also would like to show the version in the userinterface of my app and access it programatically

サインインしてコメントする。

回答 (1 件)

Taylor
Taylor 2024 年 1 月 23 日
When you go to package the app there is a field for the version number.
When the app is installed, the user can view the version number by hovering over the app.
  4 件のコメント
Taylor
Taylor 2024 年 4 月 16 日
Adee
Adee 2024 年 6 月 18 日
@Taylor, it doesn't seem to work - the code you pointed to takes the version number from the executable file, not from the app designer metadata.
The information in "Sharing details" is not propagated to the execuable file by the Matlab compiler. The version number can be specified using the "-W" switch but it still poses the problem of how to get the right number from the mlapp file...
Also, these details should preferably be available when running the app under MATLAB (before it is deployed).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by