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

1 回表示 (過去 30 日間)
Ion CANDEL
Ion CANDEL 2015 年 9 月 8 日
回答済み: Walter Roberson 2015 年 9 月 8 日
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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by