Why does mlappinstall install the app to the wrong version of Matlab
조회 수: 8 (최근 30일)
이전 댓글 표시
I have an app (EMAC), developed using Matlab 2021b, that has been installed successfully in the recent past on my pc and on a separate machine. I also have Matlab 2022a installed but so far I have not used it - certainly not on the EMAC code. Yesterday I re-created the EMAC.mlappinstal file in 2021b and then ran it. However, instead of creating the app in my app folder in 2021b, Matlab, unasked, loaded version 2022a and created the app there. The behaviour is repeatable - and irritating as I'm unable to create the app in 2021b, which I need to use for a while prior to switching to the latest version. How do I deal with this?
댓글 수: 0
답변 (1개)
Shivang
2023년 11월 27일
Hi Gordon,
I understand that you're encountering an issue where opening a .mlappinstall file installs the app in a different release of MATLAB than the one you intend to use.
The issue you're facing could arise because the operating system associates the .mlappinstall file extension with MATLAB R2022a. Depending on the operating system, this association can be modified. For instance, in Windows, you can right-click the .mlappinstall file, select "Open With," and then choose "MATLAB R2021b." You can also modify the default app used for opening .mlappinstall files by selecting the "Choose another app" option in the same submenu.
Another alternative is to open MATLAB R2021b first, and then double-click on the .mlapp file from inside MATLAB's Current Folder browser.
Hope this helps!
-Shivang
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Package and Share Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!