% --- Executes during object creation, after setting all properties. function editB_CreateFcn(hObject, eventdata, handles) % hObject handle to editB (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc
set(hObject,'BackgroundColor','white'); else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end
function editZ_Callback(hObject, eventdata, handles) % hObject handle to editZ (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of editZ as text
% str2double(get(hObject,'String')) return