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

11 vues (au cours des 30 derniers jours)
Valentin Jossen
Valentin Jossen le 26 Juin 2019
Commenté : Walter Roberson le 19 Mai 2020
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!

Réponses (2)

PIYUSH AGGARWAL
PIYUSH AGGARWAL le 26 Juin 2019
Try
edit *.mlapp on command line
  3 commentaires
PIYUSH AGGARWAL
PIYUSH AGGARWAL le 28 Juin 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
Valentin Jossen
Valentin Jossen le 1 Juil 2019
Many thanks for your help!

Connectez-vous pour commenter.


Sjouke Rinsma
Sjouke Rinsma le 19 Mai 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.
  1 commentaire
Walter Roberson
Walter Roberson le 19 Mai 2020
if I recall correctly, you can unzip the mlapp and examine the files.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by