function varargout = workfun(varargin)
% WORKFUN MATLAB code for workfun.fig
% WORKFUN, by itself, creates a new WORKFUN or raises the existing
% singleton*.
%
% H = WORKFUN returns the handle to a new WORKFUN or the handle to
% the existing singleton*.
%
% WORKFUN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in WORKFUN.M with the given input arguments.
%
% WORKFUN('Property','Value',...) creates a new WORKFUN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before workfun_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to workfun_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help workfun
% Last Modified by GUIDE v2.5 2-Sep-2022 14:47:08
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @workfun_OpeningFcn, ...
'gui_OutputFcn', @workfun_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before workfun is made visible.
function workfun_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to workfun (see VARARGIN)
% Choose default command line output for workfun
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes workfun wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = workfun_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (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 edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
edit1=str2num(get(hObject,'String'));
if (isempty(edit1))
ste(hObject,'String','')
end
guidata(hObject,handles)
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
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)
% Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
edit2=str2num(get(hObject,'String'));
if (isempty(edit2))
ste(hObject,'String','')
end
guidata(hObject,handles)
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(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 CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (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 edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
edit3=str2num(get(hObject,'String'));
if (isempty(edit3))
ste(hObject,'String','')
end
guidata(hObject,handles)
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
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,'String') returns contents of edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4 as a double
edit4=str2num(get(hObject,'String'));
if (isempty(edit4))
ste(hObject,'String','')
end
guidata(hObject,handles)
% --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(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 CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit5_Callback(hObject, eventdata, handles)
% hObject handle to edit5 (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 edit5 as text
% str2double(get(hObject,'String')) returns contents of edit5 as a double
edit5=str2num(get(hObject,'String'));
if (isempty(edit5))
ste(hObject,'String','')
end
guidata(hObject,handles)
% --- Executes during object creation, after setting all properties.
function edit5_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit5 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit6_Callback(hObject, eve
海神之光
- 粉丝: 5w+
- 资源: 6476
最新资源
- 基于SpringBoot的智慧园区后台管理系统全部资料+高分项目+详细文档.zip
- 基于Python课程设计, 智慧校园考试系统,包括用户管理,注册机构,配置题库,答题功能全部资料+高分项目+详细文档.zip
- 基于vue做的智慧水务系统全部资料+高分项目+详细文档.zip
- gripper-internals
- 基于WEBGIS的智慧景区辅助决策系统,全部资料+高分项目+详细文档.zip
- 基于WebGIS的智慧交通系统、全部资料+高分项目+详细文档.zip
- 基于WebGIS智慧养老系统(Vue3+Flask)全部资料+高分项目+详细文档.zip
- 基于大屏管理系统全部资料+高分项目+详细文档.zip
- 基于城市规划勘测设计研究院智慧规划师系统全部资料+高分项目+详细文档.zip
- 基于服务器本地地图的智慧园区视频监控web系统全部资料+高分项目+详细文档.zip
- 基于大数据智慧交通系统全部资料+高分项目+详细文档.zip
- 基于电梯智慧监管系统源码全部资料+高分项目+详细文档.zip
- 威纶通触摸屏如何快速对齐元件(智慧对齐)?.docx
- 基于开源的小型物业管理系统,涵盖停车、安保、客服、工单、收费、财务、办公自动化等模块,目标是构建一个软硬件一体的智慧物业解决方案。全部资料+高分项目+详细文档.zip
- 基于海创智慧园区管理系统全部资料+高分项目+详细文档.zip
- 基于农业岛智慧农业系统Java版,基于Java+Vue+Uni-app开发,在微信公众号、小程序、H5移动端都能使用,代码开源,独立部署,二开很方便,能满足智慧
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈