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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Melissa Williams
Melissa Williams am 16 Okt. 2017

1 Stimme

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 Kommentare

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 am 13 Feb. 2024
I have to do the same thing whenever I create a new app.

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Gefragt:

JZH
am 9 Okt. 2017

Kommentiert:

am 13 Feb. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by