App Designer Auto-Generated Code is 'Wrong'?

조회 수: 3 (최근 30일)
Luke Dillon
Luke Dillon 2018년 7월 3일
답변: Luke Dillon 2018년 7월 4일
I've been working on a simple app for a few weeks in App Designer, and just today as I tried to run the code, I received the following error:
The code in the image above is 'greyed out' and cannot be edited, as it has been automatically generated by App Designer itself... does anybody know what the issue is with methods (Access = private) and how to fix this?
Many thanks!
  댓글 수: 1
OCDER
OCDER 2018년 7월 3일
Can you upload the whole code for that? It seems like a classdef object with private methods.

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

채택된 답변

Luke Dillon
Luke Dillon 2018년 7월 4일
Problem solved! I had an 'If, else' function way further back in the code that I had failed to terminate with an 'end' statement. That fixed the issue.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by