retrieve version inside AppDesigner appplication (.mlapp file)
조회 수: 12 (최근 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!