MATLAB Answers

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

1 view (last 30 days)
Jaesik Hahn
Jaesik Hahn on 18 Mar 2020
Commented: Jaesik Hahn on 23 Mar 2020
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?

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 20 Mar 2020
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 Comment
Jaesik Hahn
Jaesik Hahn on 23 Mar 2020
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.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!