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

조회 수: 12 (최근 30일)
Valentin Jossen
Valentin Jossen 2019년 6월 26일
댓글: Walter Roberson 2020년 5월 19일
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!

답변 (2개)

PIYUSH AGGARWAL
PIYUSH AGGARWAL 2019년 6월 26일
Try
edit *.mlapp on command line
  댓글 수: 3
PIYUSH AGGARWAL
PIYUSH AGGARWAL 2019년 6월 28일
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 2019년 7월 1일
Many thanks for your help!

댓글을 달려면 로그인하십시오.


Sjouke Rinsma
Sjouke Rinsma 2020년 5월 19일
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
Walter Roberson
Walter Roberson 2020년 5월 19일
if I recall correctly, you can unzip the mlapp and examine the files.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by