Accessing Version Details Programmatically, App designer
조회 수: 18 (최근 30일)
이전 댓글 표시
Hello, In appdesigner there is an option to keep track of the version number for sharing. Is there away to access this programatically. I want to include it in the startup function and display it in the figure name
app.UIFigure.FigureName= ......
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1771590/image.png)
댓글 수: 0
답변 (1개)
nick
2024년 9월 13일
Hi Jason,
The version of the app in MATLAB App Designer can't be accessed directly with a property.
As a workaround, you can have a file called VersionNumber.txt in your folder in which you can store the version number. You can then read the file using the function 'fileread' to access the version number.
You can refer to the following documentation to learn more about the function 'fileread':
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!