Changeset 747 for trunk/src/fill_GUI.m
- Timestamp:
- Apr 22, 2014, 9:44:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fill_GUI.m
r710 r747 38 38 set(handles.(fields{ifield}),'Visible','on') 39 39 errormsg=fill_GUI(Param.(fields{ifield}),handles.(fields{ifield}));% recursively apply the function to the substructure 40 % elseif isfield(UserData,fields{ifield}) && isfield(handles,fields{ifield}) && isfield(Param.(fields{ifield}),'Name')41 % UserData.(fields{ifield})=Param.(fields{ifield});42 % set(handles.(fields{ifield}),'String',Param.(fields{ifield}).Name)43 40 end 44 41 else … … 87 84 if isnumeric(input_data) 88 85 if numel(input_data)>0 89 input_string=num2str(input_data(ibox) );86 input_string=num2str(input_data(ibox),4); 90 87 end 91 88 else … … 95 92 case{'listbox','popupmenu'} 96 93 if isnumeric(input_data) 97 input_data=num2str(input_data );94 input_data=num2str(input_data,4); 98 95 end 99 96 menu=get(hh(ibox),'String');
Note: See TracChangeset
for help on using the changeset viewer.