- Try to run with administrator right
- Correct
- Normally it would work like the base code with a fresh same version nMATLAB installed on a new machine, so depeding on your code the different environment migh or migh not create the same behhaviors: you just need to make sure the code is robust to ennvironment. That having sais I saw the different graphical behavious of the same code on the same machine where as it runs underr MATLAB or MCR.
Standalone desktop application installer cannot be opened in other machines
38 views (last 30 days)
Show older comments
I have created an app using App Designer and now I'm trying to give it other people who don't necessarily have MATLAB installed on their machines.
After I created the app on App Designer, I packaged it referring to web pages such as
Specifically, I opened Application Compiler by clicking "Standalone Desktop App" in "Share" in the "Designer" tab, and packaged it by clicking the "Package" button in the "PACKAGE" area.
I selected "Runtime included in package" in the "PACKAGING OPTIONS" area.
Web pages such as
say that giving the "for_redistribution" folder to users will work, so I gave this folder to other people.
However, clicking "MyAppInstaller_mcr.app" inside the folder on their machines produced a dialog box that said that the application "MyAppInstaller_mcr.app" couldn't be opened.
My questions are as follows:
1. What is the cause of this problem?
2. My understanding is that if they can successfully open "MyAppInstaller_mcr.app", then MATLAB Runtime will be installed (if they don't have it installed) and the standalone app will work on their machine, and that this isn't dependent on whether they have MATLAB-related softwares installed or not. Is this understanding correct?
3. I don't have information on compatibility problems related to OS versions (whether MATLAB standalon app creators have to pay attention to difference between the version of the OS on which they create an app and its installer and that of OS on which users will open those). Is there any official page that explain it?
My environments are as follows:
- The environment where I created the standalone app and "MyAppInstaller_mcr.app": Apple M2, macOS 14.4.1, MATLAB 24.2.0.2740171 (R2024b) Update 1 (I also confirmed that MATLAB 2023b on the same machine reproduced the same result.)
- The environment where "MyAppInstaller_mcr.app" couldn't be opened: Apple M2, macOS 14.5
0 Comments
Answers (1)
Bruno Luong
on 10 Nov 2024 at 9:04
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!