Clear Filters
Clear Filters

issues about app design

37 views (last 30 days)
wenchao zhang
wenchao zhang on 24 May 2024 at 7:39
Commented: Adam Danz on 28 May 2024 at 14:22
hello, i have a following problem, the edit area of the code view seems frozened, it only force me to edit within the area which marked with white background, when i want edit to other area, no any respond, how to handle this.
  1 Comment
wenchao zhang
wenchao zhang on 24 May 2024 at 9:17
Moved: Voss on 25 May 2024 at 3:14
white area is coding area, other area can not edit.

Sign in to comment.

Accepted Answer

VBBV
VBBV on 24 May 2024 at 8:03
function DropDown(app,event)
  4 Comments
VBBV
VBBV on 24 May 2024 at 10:49
ok, @wenchao zhang, It seems you have added a function for ValueChangedFcn property for your GUI component i.e. dropdown. You can only edit it the Design Mode. Switch to that mode and select the GUI component and/or right click the item and modify the name., Then it will allow you to edit the callback function name. Ensure that callback name matches exactly in the app.
VBBV
VBBV on 25 May 2024 at 3:00
Edited: VBBV on 25 May 2024 at 3:00
Please post a different question for this issue. Thanks. Accept the answer if you found it useful.

Sign in to comment.

More Answers (1)

Adam Danz
Adam Danz on 24 May 2024 at 13:16
> the edit area of the code view seems frozened, it only force me to edit within the area which marked with white background
This is by design in App Designer. App Designer creates your app as a MATLAB class viewable in Code View where you can add properties and method functions but you cannot change the gray sections directly from within Code View.
You can change callback function names that are in the gray sections. In Code View, go to Code Browser (left panel) > Callbacks tabs, and right-click on the callback function name, then select "Rename".
For more information, see Manage Code in App Designer Code View
  2 Comments
wenchao zhang
wenchao zhang on 25 May 2024 at 2:10
hi, Adam, thanks for give more description, if i want change the name of UIFigure, how to do.
Adam Danz
Adam Danz on 28 May 2024 at 14:22
From the design view, right click on the "uifigure" name in the right pannel Component Browser and select "rename".

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!