Why does mlappinstall install the app to the wrong version of Matlab
3 ビュー (過去 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!