How to fix buggy greyed-out code auto-generated by App Designer?
조회 수: 10 (최근 30일)
이전 댓글 표시
I am developing an app with App Designer. I deleted a component I had in my GUI, but it was not removed from the createComponents function (which is part of the auto-generated code). Now when I run my app, it crashes with the message "unrecognized method, property or field". The only place the deleted component is still refered to is in the auto-generated code, but I cannot remove it from there because it's greyed-out. So how can I solve this problem?
댓글 수: 2
Ankit
2019년 12월 10일
편집: Ankit
2019년 12월 10일
Once after deleting the component I dont see it in createComponents function. Try to save it as with another name and check if this problem persists.
Just a workaround for you: trying to save as "export to *.m" in the app designer. There you can change everything in your code.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!