필터 지우기
필터 지우기

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
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 CenterFile Exchange에서 Develop 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