issues about app design
조회 수: 3 (최근 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.
채택된 답변
VBBV
2024년 5월 24일
function DropDown(app,event)
댓글 수: 4
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.
추가 답변 (1개)
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
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 Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!