how to edit greyed out text in app designer
Afficher commentaires plus anciens
I'm getting an error in my app designer automaticly generated code. The methods have an "end" but its not recogised. how to get them working/edit them?


2 commentaires
Cris LaPierre
le 8 Jan 2022
I think we need to see all the code above line 59 to say for certain.
dpb
le 8 Jan 2022
The error isn't there; it's somewhere in your user code that you have a mismatched/missing delimiter.
When that happens, often the interpreter gets confused because it keeps looking for a closing }, ], ', ", etc., and doesn't actually error until well beyond the actual statement that is the culprit.
As @Cris LaPierre says, though, we couldn't tell where it is without see a much bigger chunk of the code prior to this.
It's somewhat more difficult to find such in an app than with a standalone function because there's so much extra code hanging around besides yours.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!