Figure in GIU cannot find graphic handles when opened the second time

1 次查看(过去 30 天)
Hello to all,
I have a strange issue with a GUI application. I have made a GUI comprised of one main figure that launches several other figures. I have a plotting figure with axes, text fields, check boxes and buttons that takes data form the main GUI and plots it in the axes. I have noticed a strange behavior: - when the GUI launches this figure for the first time, it works without errors; - when I launch t for the second time, it DOES NOT FIND THE HANDLES FOR THE GRAPHIC ELEMENTS (in R2013a), or it gives me this error: Warning: Struct field assignment overwrites a value with class "double". See MATLAB R14SP2 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning, for details. A large part of the code is written in the GUI_Opening_Function.
Does anybody have an explanation for this?
Best regards, Ion

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-8

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by