App Designer: Unintended duplicates of Edit Fields upon loading the saved .mlapp file

2 次查看(过去 30 天)
Hi,
Each time I close and load a .mlapp file under development, unintended duplicates of specific Edit Fields keep repopulating even after deleting them and saving as shown below. What can I do to prevent this from happening?
Thanks,
Jaesik

回答(1 个)

Harsha Priya Daggubati
Hi,
I guess the code for add these edit fields to the app is being called twice. Can you make use of breakpoints, by placing them where these edit boxes are being added and debug your issue.
  1 个评论
Jaesik Hahn
Jaesik Hahn 2020-3-23
Hi Harsha,
The screenshot is of the development window, and therefore, the calls shouldn't have any effect on the duplicates.
I just remade the whole thing, and the problem was resolved. It may be some kind of uncommon bug.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by