App designer (Matlab 2018a) does not open *.mlapp file anymore

12 views (last 30 days)
Yesterday I created an app with the app desiner (matlab 2018a) tool. Unfortunately, when I tried to open the app today to edit the code further, I got the follwoing message: "Value muse be either: a vector of type single or double in the range [0 1] a vector of an integer of ligical type". If I double-click on the *.mlapp file, the app opens and work fine. However, I can't edit the code any further. What can I do to fix this problem?
Thank you for your help!

Answers (2)

PIYUSH AGGARWAL
PIYUSH AGGARWAL on 26 Jun 2019
Try
edit *.mlapp on command line
  3 Comments
PIYUSH AGGARWAL
PIYUSH AGGARWAL on 28 Jun 2019
Hi Valentin Jossen,
Your problem seems to be an unusual one. I tried reproducing the issue but was not able to. In my case it's working fine. However it might be that some of the files in your App Designer toolbox got corrupted. Clean Reinstallation might be a way to resolve your issue. If this not works try contacting MathWorks Support for expert assistance.
Have a Great Day,
Regards,
Piyush

Sign in to comment.


Sjouke Rinsma
Sjouke Rinsma on 19 May 2020
Actually, I'm having a similar issue right now. Been working on an app for weeks now, and suddenly I am not able to open it anymore, just shows the error message "Struct contents reference from a non-struct array object". No problems opening any other apps though.
Real nice that appdesigner works with this 'shell' around it which I guess should provide more robust / less error-prone coding... but it also shields me from the source code which I now cannot view anymore (at least not in understandable code). Remember never having had such issues with guide.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!