【正文】
)) set(hObject,39。), get(0,39。 isequal(get(hObject,39。)} returns selected item from pushbutton1 % Executes during object creation, after setting all properties. function pushbutton1_CreateF(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. 課程設(shè)計 第 37 頁 共 44 頁 % See ISPC and COMPUTER. if ispc amp。) returns pushbutton1 contents as cell array % contents{get(hObject,39。 % Hints: contents = get(hObject,39。Value39。 end % Executes on selection change in pushbutton1. function kj1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global t。white39。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。amp。String39。String39。)。,39。)) set(hObject,39。), get(0,39。 isequal(get(hObject,39。)) returns contents of edit8 as a double % Executes during object creation, after setting all properties. function edit8_CreateF(hObject, eventdata, handles) % hObject handle to edit8 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。) returns contents of edit8 as text % str2double(get(hObject,39。 課程設(shè)計 第 35 頁 共 44 頁 end function edit8_Callback(hObject, eventdata, handles) % hObject handle to edit8 (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,39。white39。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。amp。String39。String39。)。,39。)) set(hObject,39。), get(0,39。 isequal(get(hObject,39。)) returns contents of edit6 as a double % Executes during object creation, after setting all properties. 課程設(shè)計 第 34 頁 共 44 頁 function edit6_CreateF(hObject, eventdata, handles) % hObject handle to edit6 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。) returns contents of edit6 as text % str2double(get(hObject,39。 end function edit6_Callback(hObject, eventdata, handles) % hObject handle to edit6 (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,39。white39。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。amp。String39。String39。)。,39。)) set(hObject,39。), get(0,39。 isequal(get(hObject,39。)) returns contents of edit4 as a double % Executes during object creation, after setting all properties. function edit4_CreateF(hObject, eventdata, handles) % hObject handle to edit4 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。) returns contents of edit4 as text % str2double(get(hObject,39。 end function edit4_Callback(hObject, eventdata, handles) % hObject handle to edit4 (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,39。white39。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。amp。String39。String39。)。,39。)) set(hObject,39。), get(0,39。 isequal(get(hObject,39。)) returns contents of edit2 as a double % Executes during object creation, after setting all properties. function edit2_CreateF(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。) returns contents of edit2 as text % str2double(get(hObject,39。 end function edit2_Callback(hObject, eventdata, handles) % hObject handle to edit2 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) 課程設(shè)計 第 31 頁 共 44 頁 % Hints: get(hObject,39。white39。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。amp。String39。String39。 % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB 課程設(shè)計 第 30 頁 共 44 頁 % handles structure with handles and user data (see GUIDATA) % Get default mand line output from handles structure varargout{1} = 。 % UIWAIT makes lyl wait for user response (see UIRESUME) % uiwait()。 end % End initialization code DO NOT EDIT % Executes just before lyl is made visible. function lyl_OpeningF(hObject, eventdata, handles, varargin) % This function has no output args, see OutputF. % hObject handle to figure % even