Changeset 497 for trunk/src/fill_GUI.m
- Timestamp:
- Jul 21, 2012, 11:15:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fill_GUI.m
r476 r497 1 %'fill_GUI': fill a GUI with handles 'handles' from input data Param1 %'fill_GUI': fill a GUI with a set of parameters from a Matlab structure 2 2 % ----------------------------------------------------------------------- 3 % function errormsg=fill_GUI(Param,handles) 4 % OUPUT: 5 % errormsg: error message, ='' by default 6 % 7 % INPUT: 8 % Param: matlab structure containing the information to display in the GUI 9 % handles: Matlab structure containing the handles of the GUI elements 10 % 11 % see also the reverse function read_GUI.m 12 % 3 13 function errormsg=fill_GUI(Param,handles) 4 14 %------------------------------------------------------------------------ … … 18 28 else 19 29 hh=[]; 20 input_data=Param.(fields{ifield}) 30 input_data=Param.(fields{ifield}); 21 31 check_done=0; 22 32 if isfield(handles,fields{ifield}) 23 hh=handles.(fields{ifield}) 33 hh=handles.(fields{ifield}); 24 34 if strcmp(get(hh,'Type'),'uitable') 25 35 set(hh,'Visible','on')
Note: See TracChangeset
for help on using the changeset viewer.