function varargout = tiaowen(varargin)
% TIAOWEN MATLAB code for tiaowen.fig
% TIAOWEN, by itself, creates a new TIAOWEN or raises the existing
% singleton*.
%
% H = TIAOWEN returns the handle to a new TIAOWEN or the handle to
% the existing singleton*.
%
% TIAOWEN('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in TIAOWEN.M with the given input arguments.
%
% TIAOWEN('Property','Value',...) creates a new TIAOWEN or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before tiaowen_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to tiaowen_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 tiaowen
% Last Modified by GUIDE v2.5 08-Apr-2016 13:35:28
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @tiaowen_OpeningFcn, ...
'gui_OutputFcn', @tiaowen_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 tiaowen is made visible.
function tiaowen_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 tiaowen (see VARARGIN)
% Choose default command line output for tiaowen
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes tiaowen wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = tiaowen_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;
% --- Executes on button press in radiobutton1.
function radiobutton1_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton1
guidata(hObject,handles);
val=get(handles.radiobutton1,'Value');
if val
set(handles.edit4,'Enable','on');
set(handles.popupmenu3,'Enable','on');
end
% --- Executes on button press in radiobutton2.
function radiobutton2_Callback(hObject, eventdata, handles)
% hObject handle to radiobutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hint: get(hObject,'Value') returns toggle state of radiobutton2
guidata(hObject,handles);
val=get(handles.radiobutton2,'Value');
if val
set(handles.edit4,'Enable','off');
set(handles.popupmenu3,'Enable','off');
end
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu1 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu1
guidata(hObject,handles);
val=get(hObject,'Value');
switch val
case 1
set(handles.edit3,'Enable','off');
case 2
set(handles.edit3,'Enable','off');
case 3
set(handles.edit3,'Enable','on');
end
% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu 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 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
str=get(hObject,'String');
set(handles.edit6,'String',str);
% --- 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
% --- 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
% --- 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
% --- Executes on selection change in popupmenu2.
function popupmenu2_Callback(hObject, even


海神之光
- 粉丝: 5w+
- 资源: 7136
最新资源
- Mastercam DMU70EVO后处理系统:海德汗技术深度解析与应用实践,Mastercam DMU70EVO海德汗系统后处理-精密数控技术中的后处理技术探索与应用,Mastercam DMU7
- test JOB is a job
- 基于Isomap-Adaboost-IHBA-SVM融合的智能故障诊断模型:结合非线性降维与蜜獾优化算法的集成框架,基于Isomap-IHBA-Adaboost-SVM的集成故障诊断模型:融合非线性降
- 基于灰狼优化算法的Matlab程序实现城市路径规划优化问题及GWO-TSP方案,基于灰狼优化算法的TSP路径规划优化问题matlab实现方案,基于灰狼优化算法的城市路径规划优化问题matlab程序 G
- 改进的海鸥优化算法ISOA性能解析:快速收敛与高精度对比测试报告,改进的海鸥优化算法ISOA性能卓越:快速收敛、高精度与基础测试函数对比图,改进的海鸥优化算法(ISOA,2019年算法) 基础的S
- 基于双碳背景下阶梯式碳交易机制与电制氢的综合能源系统热电优化策略研究与求解分析,基于双碳背景下阶梯式碳交易机制与电制氢的综合能源系统热电优化策略及经济性研究,考虑阶梯式碳交易机制与电制氢的综合能源系统
- 贝叶斯优化CNN-BiLSTM模型在MATLAB中的时间序列预测实践:基于多指标评估与验证的深度学习应用,Matlab贝叶斯优化CNN-BiLSTM模型在单变量时间序列预测中的应用与验证:基于学习率、
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


