function varargout = mycam(varargin)
% MYCAM M-file for mycam.fig
% MYCAM, by itself, creates a new MYCAM or raises the existing
% singleton*.
%
% H = MYCAM returns the handle to a new MYCAM or the handle to
% the existing singleton*.
%
% MYCAM('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in MYCAM.M with the given input arguments.
%
% MYCAM('Property','Value',...) creates a new MYCAM or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before mycam_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to mycam_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 mycam
% Last Modified by GUIDE v2.5 18-May-2021 15:20:46
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @mycam_OpeningFcn, ...
'gui_OutputFcn', @mycam_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 mycam is made visible.
function mycam_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 mycam (see VARARGIN)
% Choose default command line output for mycam
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes mycam wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = mycam_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 BaseRadiusEdit_Callback(hObject, eventdata, handles)
% hObject handle to BaseRadiusEdit (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 BaseRadiusEdit as text
% str2double(get(hObject,'String')) returns contents of BaseRadiusEdit as a double
% --- Executes during object creation, after setting all properties.
function BaseRadiusEdit_CreateFcn(hObject, eventdata, handles)
% hObject handle to BaseRadiusEdit (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 TlzxSelectPop.
function TlzxSelectPop_Callback(hObject, eventdata, handles)
% hObject handle to TlzxSelectPop (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = get(hObject,'String') returns TlzxSelectPop contents as cell array
% contents{get(hObject,'Value')} returns selected item from TlzxSelectPop
% --- Executes during object creation, after setting all properties.
function TlzxSelectPop_CreateFcn(hObject, eventdata, handles)
% hObject handle to TlzxSelectPop (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 CenterXEdit_Callback(hObject, eventdata, handles)
% hObject handle to CenterXEdit (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 CenterXEdit as text
% str2double(get(hObject,'String')) returns contents of CenterXEdit as a double
% --- Executes during object creation, after setting all properties.
function CenterXEdit_CreateFcn(hObject, eventdata, handles)
% hObject handle to CenterXEdit (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 CenterYEdit_Callback(hObject, eventdata, handles)
% hObject handle to CenterYEdit (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 CenterYEdit as text
% str2double(get(hObject,'String')) returns contents of CenterYEdit as a double
% --- Executes during object creation, after setting all properties.
function CenterYEdit_CreateFcn(hObject, eventdata, handles)
% hObject handle to CenterYEdit (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 PopCdjType.
function PopCdjType_Callback(hObject, eventdata, handles)
% hObject handle to PopCdjType (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = get(hObject,'String') returns PopCdjType contents as cell array
% contents{get(hObject,'Value')} returns selected item from PopCdjType
contents=get(hObject,'Value');
Ydxs=get(handles.PopYdxs,'value');
switch(contents)
case 1 %尖端
set(handles.TxtGzbj,'Enable','off');
set(handles.GzbjEdit,'Enable','off');
set(handles.TxtPdkd,'Enable','off');
set(handles.PdkdEdit,'Enable','off');
set(handles.TxtPzfx,'Enable','off');
set(handles.RadioZx,'Enable','off');
set(handles.RadioFx,'Enable','off');
set(handles.TxtPj,'Enable','off');
set(handles.PjEdit,'Enable','off');
switch(Ydxs)
case 1 %直动
set(handles.TextBgcd,'Enable','off');
set(handles.BgcdEdit,'Enable','off');
set(handles.TextZxjl,'E
![avatar](https://profile-avatar.csdnimg.cn/22c46cb7417b40989d92d67df86b9fff_tiqcmatlab.jpg!1)
![avatar-vip](https://csdnimg.cn/release/downloadcmsfe/public/img/user-vip.1c89f3c5.png)
海神之光
- 粉丝: 5w+
- 资源: 7136
最新资源
- PEM电解槽多物理场耦合的三维两相流模拟研究:探究电流密度分布与析氢析氧过程的影响(使用comsol软件分析),PEM电解槽复杂多物理场的三维两相流模拟与性能分析-涵盖电化学、传质及析氢析氧过程,利
- 基于Matlab的悬臂梁有限元分析:四节点与八节点四边形单元编程指南,基于Matlab的悬臂梁结构有限元分析程序:四节点与八节点四边形单元编程详解,悬臂梁,有限元编程 基于matlab的悬臂梁四节点
- 基于COMSOL有限元PDE接口的二维混凝土湿热力耦合模型解析与优化:固体力学模块收敛问题解决方案,适合新手学习 ,基于COMSOL PDE接口的二维混凝土湿热力耦合模型解析:固体力学模块不收敛问题及
- (源码)基于加权概率算术编码的自适应信道编码系统.zip
- 10t双级纯水系统在某龙头水泥厂的PLC与HMI应用:西门子Smart PLC与海为触摸屏的Profinet通信控制方案,十年专注,专业树立行业标杆,程序通用且可定制,满足各类水处理及供求需求,设备配
- PHP新闻网站系统.rar
- 西门子S7-200 PLC在豆浆机流量控制中的应用:基于MCGS组态画面与S7-200程序的设计与实现,西门子S7-200 PLC程序与MCGS组态画面联合实现豆浆机流量控制:设计与实现,90#西门子
- c&c++课程设计-学生成绩管理系统.rar
- 知识-数据混合驱动的电网频率协同控制算法代码实现与解析
- 管家婆普及ⅡTOP13.22
- 管家婆普及ⅡTOP13.32
- 管家婆普及ⅡTOP15.0
- 基于T型三电平逆变器的SVPWM调制及电压电流双闭环控制仿真概览与波形分析(附图),基于T型三电平逆变器SVPWM策略的电压电流双闭环控制及波形分析仿真模型介绍,T型三电平逆变器 SVPWM 大扇区
- 威纶通触摸屏与台达变频器通讯协议实践详解:如何实现485直接通讯连接,威纶通触摸屏与台达变频器通讯实现详解:通讯协议与直接通讯技术探讨,威纶通触摸屏与台达变频器通讯485直接通讯 ,威纶通触摸屏; 台
- JAVA小区门户网站(源代码).rar
- 西门子S7-1200 PLC控制的七层单部电梯模拟系统:功能丰富、操作便捷的自动化电梯程序,西门子S7-1200 PLC控制的七层单部电梯模拟系统:功能全面、灵活定制的电梯程序设计,电梯程序PLC西门
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
- 1
- 2
- 3
前往页