Change of appdata is not visible

2 次查看(过去 30 天)
Jerzy
Jerzy 2017-12-25
编辑: Jerzy 2017-12-25
Hi! I have created two windows - main window and auxiliary. I am passing data through them using setappdata() and getappdata(). While debugging the program everything pass correctly. Getappdata() command line is placed just after auxiliary window launch. Getappdata() simply does not see change made in auxiliary window by setappdata() command. I had the same problem, while using global variables. In getappdata and setappdata I am using handle to main window (in auxiliary window i am recieving it by passing through varargin). For any tips I would be grateful :)

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by