Filter löschen
Filter löschen

App Designer Auto-Generated Code is 'Wrong'?

3 Ansichten (letzte 30 Tage)
Luke Dillon
Luke Dillon am 3 Jul. 2018
Beantwortet: Luke Dillon am 4 Jul. 2018
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 Kommentar
OCDER
OCDER am 3 Jul. 2018
Can you upload the whole code for that? It seems like a classdef object with private methods.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Luke Dillon
Luke Dillon am 4 Jul. 2018
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.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by