Changeset 711 for trunk/src/read_GUI.m
- Timestamp:
- Feb 18, 2014, 10:11:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_GUI.m
r591 r711 93 93 List=fields(UserData); 94 94 for ilist=1:numel(List) 95 if isstruct(UserData.(List{ilist})) 95 if isstruct(UserData.(List{ilist}))% look for edit box with the tag UserData.(List{ilist}) 96 96 heditbox=findobj(handle,'Tag',List{ilist},'Style','edit','Visible','on'); 97 97 if isequal(numel(heditbox),1) 98 98 struct.(List{ilist})=UserData.(List{ilist}); 99 else% look for pushbutton with the tag UserData.(List{ilist}) 100 hpushbutton=findobj(handle,'Tag',List{ilist},'Style','pushbutton','Visible','on'); 101 if isequal(numel(hpushbutton),1) 102 struct.(List{ilist})=UserData.(List{ilist}); 103 end 99 104 end 100 105 end
Note: See TracChangeset
for help on using the changeset viewer.