Why does mlappinstall install the app to the wrong version of Matlab
7 次查看(过去 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!