Prev: Incorrect Sound Pressure Level from FFT in Matlab
Next: Making some parts of image fully transparent
From: Adam Chapman on 14 Jul 2010 04:00 function initialize_gui(fig_handle, handles, isconfirm) %Set up with values handles=handles; set(handles.batteryCapacity, 'String', 200) set(handles.cellNum, 'String', 98); set(handles.maxDischarge, 'String',600); set(handles.maxRecharge, 'String', 400); handles.batteryCapacity=200; handles.cellNum=98; handles.maxDischarge=600; handles.maxRecharge=400; % Update handles structure guidata(handles.figure1, handles);
From: us on 14 Jul 2010 04:08
Adam Chapman <adamchapman1985(a)hotmail.co.uk> wrote in message <eee167e5-397a-4bab-9aa8-95e1eb8c8896(a)s9g2000yqd.googlegroups.com>... > function initialize_gui(fig_handle, handles, isconfirm) > %Set up with values > > handles=handles; > > set(handles.batteryCapacity, 'String', 200) > set(handles.cellNum, 'String', 98); > set(handles.maxDischarge, 'String',600); > set(handles.maxRecharge, 'String', 400); > > handles.batteryCapacity=200; > handles.cellNum=98; > handles.maxDischarge=600; > handles.maxRecharge=400; > > % Update handles structure > guidata(handles.figure1, handles); handles=handles; % <- ????? % also, what is your question... us |