Changeset 1194 for trunk/src/fill_GUI.m
- Timestamp:
- Feb 23, 2026, 3:58:54 PM (8 days ago)
- File:
-
- 1 edited
-
trunk/src/fill_GUI.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fill_GUI.m
r1127 r1194 33 33 errormsg=''; 34 34 if ~isstruct(Param) 35 errormsg='first input par maeter of fill_GUI must be a structure';35 errormsg='first input parameter of fill_GUI must be a structure'; 36 36 return 37 37 end … … 91 91 end 92 92 for ibox=1:numel(hh) 93 % finalise the update of GUI uicontrol filled by the input element93 % finalise the update of GUI uicontrol filled by the input element 94 94 if ~isempty(hh(ibox))&& ~check_done 95 95 set(hh(ibox),'Visible','on')% make the filled GUI element visible … … 104 104 if isnumeric(input_data) 105 105 if numel(input_data)>0 106 input_string=num2str(input_data(ibox),4); 106 if floor(input_data(ibox))==input_data(ibox) 107 input_string=num2str(input_data(ibox)); % case of integers, write in full 108 else 109 input_string=num2str(input_data(ibox),4);%case of floating point:nbre_digit=4; 110 end 107 111 end 108 112 elseif ischar(input_data)
Note: See TracChangeset
for help on using the changeset viewer.
