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 Comment

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

Sign in to comment.

Answers (1)

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 Comments

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

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

JZH
on 9 Oct 2017

Commented:

on 13 Feb 2024

Community Treasure Hunt

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

Start Hunting!