function varargout = air_clutter_simulation(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @air_clutter_simulation_OpeningFcn, ...
'gui_OutputFcn', @air_clutter_simulation_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 air_clutter_simulation is made visible.
function air_clutter_simulation_OpeningFcn(hObject, eventdata, handles, varargin)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% cmd='wmic diskdrive get SerialNumber';
% [~,result]=system(cmd);
% fields=textscan(result,'%s','Delimiter','/n');
% fields=strtrim(fields{1});
% serialNO=fields{2};%%得到序列号
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% serialNO=des(serialNO);%%加密
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% value_e=exist('C:\Program Files\clutter_simulation\license.dat','file');
% if(value_e==0)
% code=inputdlg('请输入序列号完成注册');
% code=cell2mat(code);
% if(isequal(code,serialNO)==0)
% errordlg('您输入的序列号无效,谢谢!','提示');
% pause(2);
% exit;
% end
% folder_clutter='C:/Program Files/clutter_simulation';
% mkdir(folder_clutter);
% %save('C:\Program Files\clutter_simulation\license.dat','serialNO');
% fid=fopen('C:\Program Files\clutter_simulation\license.dat','wt');
% fprintf(fid,'%s',serialNO);
% fclose(fid);
% else
% fid=fopen('C:\Program Files\clutter_simulation\license.dat','r');
% s=fscanf(fid,'%s');
% fclose(fid);
% if(strcmp(serialNO,s)==0)
% errordlg('序列号验证失败,谢谢!','提示');
% pause(2);
% exit;
% end
% end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%默认值初始化
global automatic_ground_flag;
global orbit_flag;
orbit_flag=0;
automatic_ground_flag=0;
set(handles.radiobutton1,'value',1);
set(handles.radiobutton3,'value',1);
set(handles.radiobutton4,'value',0);
set(handles.popupmenu1,'value',1);
set(handles.popupmenu2,'value',1);
set(handles.popupmenu4,'value',1);
set(handles.popupmenu5,'value',1);
set(handles.edit1,'string',4);
set(handles.edit2,'string',4.01);
set(handles.edit3,'string',0);
set(handles.edit4,'string',50000);
set(handles.edit5,'string',0);
set(handles.edit6,'string',0.00126);
set(handles.edit7,'string',1.5707);
set(handles.edit8,'string',0.14);
set(handles.edit9,'string',1);
set(handles.edit10,'string',15);
set(handles.edit11,'string',1);
set(handles.edit13,'string',0);
set(handles.edit14,'string',5);
set(handles.edit15,'string',10);
set(handles.edit16,'string',10);
set(handles.edit17,'string',100);
set(handles.edit18,'string',200);
set(handles.edit19,'string',5);
set(handles.edit20,'string',1);
set(handles.edit21,'string',1.2);
set(handles.edit22,'string',2);
set(handles.edit23,'string',50);
set(handles.edit24,'string',5);
set(handles.edit25,'string',5);
set(handles.edit28,'string',40000);
set(handles.edit29,'string',60000);
set(handles.edit1,'enable','off');
set(handles.edit2,'enable','off');
set(handles.edit3,'enable','on');
set(handles.edit4,'enable','on');
set(handles.edit5,'enable','on');
set(handles.edit6,'enable','off');
set(handles.edit7,'enable','off');
set(handles.edit8,'enable','off');
set(handles.edit9,'enable','off');
set(handles.edit10,'enable','on');
set(handles.edit11,'enable','on');
set(handles.edit13,'enable','on');
set(handles.edit14,'enable','on');
set(handles.edit15,'enable','on');
set(handles.edit16,'enable','on');
set(handles.edit17,'enable','on');
set(handles.edit18,'enable','on');
set(handles.edit19,'enable','on');
set(handles.edit20,'enable','on');
set(handles.edit21,'enable','on');
set(handles.edit22,'enable','off');
set(handles.edit23,'enable','on');
set(handles.edit24,'enable','on');
set(handles.edit25,'enable','on');
set(handles.edit28,'enable','on');
set(handles.edit29,'enable','on');
set(handles.popupmenu1,'enable','on');
set(handles.popupmenu2,'enable','off');
set(handles.popupmenu4,'enable','on');
set(handles.popupmenu5,'enable','on');
set(handles.pushbutton2,'enable','on');
set(handles.pushbutton5,'enable','on');
set(handles.pushbutton6,'enable','on');
set(handles.pushbutton7,'enable','off');
set(handles.pushbutton8,'enable','off');
set(handles.pushbutton9,'enable','off');
set(handles.checkbox1,'value',0);
% Choose default command line output for air_clutter_simulation
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes air_clutter_simulation wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = air_clutter_simulation_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
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)
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)
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
%
IT狂飙
- 粉丝: 4841
- 资源: 2651
最新资源
- content_1735399451467.zip
- 2023-04-06-项目笔记 - 第三百六十一阶段 - 4.4.2.359全局变量的作用域-359 -2025.12.28
- 2023-04-06-项目笔记 - 第三百六十一阶段 - 4.4.2.359全局变量的作用域-359 -2025.12.28
- 星球下孤单的一群人高清原创壁纸图片
- (20083624)springmvc+spring+mybatis
- (21733212)SSM框架(SpringMVC+Spring+Mybatis)
- (25380850)Multisim创建LM386所需符号文件
- (26204430)python源代码-词云.zip
- MATLAB的车道线标定(面板).rar
- MATLAB的人脸识别设计(面板).rar
- (3625800)-常用电子元器件简明手册
- MATLAB家居防火识别系统(面板).rar
- MATLAB金属表面缺陷分析(面板).rar
- MATLAB脐橙水果分级(面板).rar
- (11235606)c++builder6.0开发实例
- (1638036)MFC 类学生管理系统
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈