APP designed in MATLAB not starting

22 views (last 30 days)
David King
David King on 3 Aug 2021
Commented: WTxnitz on 17 Mar 2022
I downloaded a MATLAB app via a .mlappinstall file. When I try to open the app, I get the following message: Function: 'GUI_Gas_Sensor' in the current folder shadows the app entry point. Change the current foler and execute the app again.
How can I get the app to open properly? Is there some sort of installation error?

Answers (1)

Ananya Tewari
Ananya Tewari on 6 Aug 2021
Hi David,
Apparently there is another function named 'GUI_Gas_Sensor' in your current directory which shadows the app entry point. As suggested by the message Change the current foler and execute the app again, you can try moving your .mlapp to a new directory and execute the app again. There is also a chance that the .mlappinstall file itself has some problems, in that case you need to verify from the source where you downloaded the file.
  2 Comments
WTxnitz
WTxnitz on 17 Mar 2022
Correction:
I had not used the app install in a while, and I was inadvertently using a different procedure from before.
Previously, I had been putting the mlapp and installer files in a different directory.
Once I reverted to the proper method, no more errors. My bad.
Apologies to all.
So to be clear, the mlapp and installer files must be in a different directory from the working directory.

Sign in to comment.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!