Why does mlappinstall install the app to the wrong version of Matlab

8 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Shivang
Shivang il 27 Nov 2023
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

Categorie

Scopri di più su Package and Share Apps in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by