how to edit greyed out text in app designer

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

I think we need to see all the code above line 59 to say for certain.
dpb
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.

Connectez-vous pour commenter.

 Réponse acceptée

Aaron Petersen
Aaron Petersen le 10 Jan 2022

0 votes

I restarted from an earlier abckup annd it fixed now. Tough thank you guys!!!

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by