App Designer unable to add private Function / Property

The relevant buttons are grayed out, and I can't seem to figure out how to activate those two. Thoughts? Much appreciated.

1 commentaire

If you use the Code Browser tabs for Functions or Properties, do you have the same issue?

Connectez-vous pour commenter.

Réponses (1)

Melissa Williams
Melissa Williams le 16 Oct 2017

1 vote

The options become greyed out/diabled if you have a syntax error in any of the code in your private/public properties or functions. Look for orange underlines in your code and hover over them for hints on how to fix the code.

2 commentaires

I've had the app designer disable functions and properties in the code browser after fixing all code errors (green box in upper right in code view). I had to close app designer and restart it to enable functions and properties in the code browser again. (Matlab 18b).
James
James le 13 Fév 2024
I have to do the same thing whenever I create a new app.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Question posée :

JZH
le 9 Oct 2017

Commenté :

le 13 Fév 2024

Community Treasure Hunt

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

Start Hunting!

Translated by