issues about app design

2 次查看(过去 30 天)
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 个评论
wenchao zhang
wenchao zhang 2024-5-24
移动:Voss 2024-5-25
white area is coding area, other area can not edit.

请先登录,再进行评论。

采纳的回答

VBBV
VBBV 2024-5-24
function DropDown(app,event)
  4 个评论
VBBV
VBBV 2024-5-24
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 2024-5-25
编辑:VBBV 2024-5-25
Please post a different question for this issue. Thanks. Accept the answer if you found it useful.

请先登录,再进行评论。

更多回答(1 个)

Adam Danz
Adam Danz 2024-5-24
> 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 个评论
wenchao zhang
wenchao zhang 2024-5-25
hi, Adam, thanks for give more description, if i want change the name of UIFigure, how to do.
Adam Danz
Adam Danz 2024-5-28
From the design view, right click on the "uifigure" name in the right pannel Component Browser and select "rename".

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by