Диссертация (1090210), страница 33
Текст из файла (страница 33)
Choose "GUI allows only one%instance to run (singleton)".%% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help model3% Last Modified by GUIDE v2.5 09-Oct-2009 10:49:25% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name',mfilename, ...'gui_Singleton', gui_Singleton, ...'gui_OpeningFcn', @model3_OpeningFcn, ...'gui_OutputFcn', @model3_OutputFcn, ...'gui_LayoutFcn', [] , ...'gui_Callback',[]);if nargin && ischar(varargin{1})gui_State.gui_Callback = str2func(varargin{1});endif nargout[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});234elsegui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDIT% --- Executes just before model3 is made visible.function model3_OpeningFcn(hObject, eventdata, handles, varargin)% This function has no output args, see OutputFcn.% hObjecthandle to figure% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% varargincommand line arguments to model3 (see VARARGIN)% Choose default command line output for model3handles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes model3 wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = model3_OutputFcn(hObject, eventdata, handles)% varargout cell array for returning output args (see VARARGOUT);% hObjecthandle to figure% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Get default command line output from handles structurevarargout{1} = handles.output;function edit3_Callback(hObject, eventdata, handles)% hObjecthandle to edit3 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure 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 adouble% --- Executes during object creation, after setting all properties.function edit3_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit3 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');end235function edit4_Callback(hObject, eventdata, handles)% hObjecthandle to edit4 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure 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 adouble% --- Executes during object creation, after setting all properties.function edit4_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit4 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit5_Callback(hObject, eventdata, handles)% hObjecthandle to edit5 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure 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 adouble% --- Executes during object creation, after setting all properties.function edit5_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit5 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit6_Callback(hObject, eventdata, handles)% hObjecthandle to edit6 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit6 as text%str2double(get(hObject,'String')) returns contents of edit6 as adouble236% --- Executes during object creation, after setting all properties.function edit6_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit6 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit8_Callback(hObject, eventdata, handles)% hObjecthandle to edit8 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit8 as text%str2double(get(hObject,'String')) returns contents of edit8 as adouble% --- Executes during object creation, after setting all properties.function edit8_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit8 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit9_Callback(hObject, eventdata, handles)% hObjecthandle to edit9 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit9 as text%str2double(get(hObject,'String')) returns contents of edit9 as adouble% --- Executes during object creation, after setting all properties.function edit9_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit9 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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'))237set(hObject,'BackgroundColor','white');endfunction edit10_Callback(hObject, eventdata, handles)% hObjecthandle to edit10 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit10 as text%str2double(get(hObject,'String')) returns contents of edit10 as adouble% --- Executes during object creation, after setting all properties.function edit10_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit10 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit11_Callback(hObject, eventdata, handles)% hObjecthandle to edit11 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit11 as text%str2double(get(hObject,'String')) returns contents of edit11 as adouble% --- Executes during object creation, after setting all properties.function edit11_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit11 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit1_Callback(hObject, eventdata, handles)% hObjecthandle to edit1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)238% Hints: get(hObject,'String') returns contents of edit1 as text%str2double(get(hObject,'String')) returns contents of edit1 as adouble% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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 button press in pushbutton1.function pushbutton1_Callback(hObject, eventdata, handles)% hObjecthandle to pushbutton1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)[FileName,PathName] = uigetfile('*.*','Выберите изображение');set(handles.pictpath, 'String', [PathName,FileName]);FullName = [PathName FileName];PICTU = imread(FullName);axes(handles.axes1);imwrite(PICTU,'qwert2.png','BitDepth',16);PICTU=imread('qwert2.png');% image('CData',PICT);A = imshow(PICTU);%axes(handles.axes3);%image('CData',PICT);% plot(axes_handle,...)% --- Executes on button press in pushbutton2.function pushbutton2_Callback(hObject, eventdata, handles)% hObjecthandle to pushbutton2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)FullName = uiputfile('*.png','Сохранение изображения');axes(handles.axes3);PICT = getimage;% imwrite(PICT,FullName,'BitDepth',16);imwrite(PICT,FullName);function edit2_Callback(hObject, eventdata, handles)% hObjecthandle to edit2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure 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 adouble% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit2 (see GCBO)239% eventdata% handlesreserved - to be defined in a future version of MATLABempty - 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 button press in pushbutton4.function pushbutton4_Callback(hObject, eventdata, handles)% hObjecthandle to pushbutton4 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton5.function pushbutton5_Callback(hObject, eventdata, handles)% hObjecthandle to pushbutton5 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)function edit7_Callback(hObject, eventdata, handles)% hObjecthandle to edit7 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit7 as text%str2double(get(hObject,'String')) returns contents of edit7 as adouble% --- Executes during object creation, after setting all properties.function edit7_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit7 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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 button press in pushbutton3.function pushbutton3_Callback(hObject, eventdata, handles)% hObjecthandle to pushbutton3 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)FullName = get(handles.pictpath, 'String');% FullName = get(handles.filepath, 'string');% set(handles.edit13, 'String', FullName);%PICT= imread('E:\луна.bmp');load spectr.txt;WL = round(str2double(get(handles.edit14, 'string')));240if WL<180spec = 0.14;elseif WL>260spec = 0.000001;elsefor i=1:81if WL==spectr(i,1)spec = spectr(i,2);endendendPICT = imread(FullName);XM = str2double(get(handles.numx, 'string'));YM = str2double(get(handles.numy, 'string'));XP = str2double(get(handles.xsize, 'string'));YP = str2double(get(handles.ysize, 'string'));PMax = str2double(get(handles.maxbright, 'string'));PMax = PMax*spec/1000000;TK = str2double(get(handles.tframe, 'string'));SP = str2double(get(handles.scurrent, 'string'));UD = str2double(get(handles.pixability, 'string'));% KG = get(handles.colornum, 'string');CQ = str2double(get(handles.cmax, 'string'));KG = 65536;imwrite(PICT,'qwert1.png','BitDepth',16);PICT=imread('qwert1.png');% set(handles.edit12, 'String', XM);% A=imshow(PICT);% Приводим изображение к формату матрицы.PICT=imresize(PICT,[XM YM],'bilinear');% A=imshow(PICT);% Вычисление удельной мощности в Вт на пиксел в изображении пространства% предметов.PPP=PMax/KG; % Определяем мощность в Вт на одну градацию яркости.PICT=double(PICT);PICT=PICT*PPP;% Получаем матрицу в пикселях которой содержаться значения% облучённости в Вт.% A=imshow(PICT);% Вычисление накопленого заряда в Кл/пиксел в изображении на матрице.KP=XM*YM;% Определение количества пикселей в матрице.VrNak=TK/KP;% Определение времени накопления одного пикселя.PICT=PICT*VrNak*SP;% Получаем матрицу в пикселях которой содержаться%значения накопленого заряда в кулонах.% A=imshow(PICT);% Вычисление дисперсии шума (нижней границы динамического диапазона).PL=XP*YP*1e-6;% Определение площади пикселя в метрах.DSH=sqrt((PL*SP^2)/(UD^2*VrNak));% Вычисление дисперсии шума в Кл.% Вычисление верхней границы динамического диапазона.CQ=CQ*1e-12;% Вычисление распределения заряда по пикселям матрицы с учётом% динамического диапазона.for k=1:KPif PICT(k)<=DSHPICT(k)=0;%else PICT(k)>=CQ% PICT (k)=65535;endend241% Кодировка распределения заряда яркостью изображения.PPP=CQ/65536; % Определяем заряд в Кл на одну градацию яркости.for k=1:KPif (PICT(k)~=0)&&(PICT(k)~=65535)PICT(k)=PICT(k)/PPP;endendPICT = uint16(PICT);% A=imshow(PICT);axes(handles.axes3);% image('CData',PICT);A = imshow(PICT);function numx_Callback(hObject, eventdata, handles)% hObjecthandle to numx (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of numx as text%str2double(get(hObject,'String')) returns contents of numx as adouble% --- Executes during object creation, after setting all properties.function numx_CreateFcn(hObject, eventdata, handles)% hObjecthandle to numx (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction numy_Callback(hObject, eventdata, handles)% hObjecthandle to numy (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of numy as text%str2double(get(hObject,'String')) returns contents of numy as adouble% --- Executes during object creation, after setting all properties.function numy_CreateFcn(hObject, eventdata, handles)% hObjecthandle to numy (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');end242function xsize_Callback(hObject, eventdata, handles)% hObjecthandle to xsize (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of xsize as text%str2double(get(hObject,'String')) returns contents of xsize as adouble% --- Executes during object creation, after setting all properties.function xsize_CreateFcn(hObject, eventdata, handles)% hObjecthandle to xsize (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction ysize_Callback(hObject, eventdata, handles)% hObjecthandle to ysize (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of ysize as text%str2double(get(hObject,'String')) returns contents of ysize as adouble% --- Executes during object creation, after setting all properties.function ysize_CreateFcn(hObject, eventdata, handles)% hObjecthandle to ysize (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction maxbright_Callback(hObject, eventdata, handles)% hObjecthandle to maxbright (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of maxbright as text243%doublestr2double(get(hObject,'String')) returns contents of maxbright as a% --- Executes during object creation, after setting all properties.function maxbright_CreateFcn(hObject, eventdata, handles)% hObjecthandle to maxbright (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction tframe_Callback(hObject, eventdata, handles)% hObjecthandle to tframe (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of tframe as text%str2double(get(hObject,'String')) returns contents of tframe as adouble% --- Executes during object creation, after setting all properties.function tframe_CreateFcn(hObject, eventdata, handles)% hObjecthandle to tframe (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction scurrent_Callback(hObject, eventdata, handles)% hObjecthandle to scurrent (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of scurrent as text%str2double(get(hObject,'String')) returns contents of scurrent as adouble% --- Executes during object creation, after setting all properties.function scurrent_CreateFcn(hObject, eventdata, handles)% hObjecthandle to scurrent (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - handles not created until after all CreateFcns called244% 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');endfunction pixability_Callback(hObject, eventdata, handles)% hObjecthandle to pixability (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of pixability as text%str2double(get(hObject,'String')) returns contents of pixability asa double% --- Executes during object creation, after setting all properties.function pixability_CreateFcn(hObject, eventdata, handles)% hObjecthandle to pixability (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction pictpath_Callback(hObject, eventdata, handles)% hObjecthandle to pictpath (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of pictpath as text%str2double(get(hObject,'String')) returns contents of pictpath as adouble% --- Executes during object creation, after setting all properties.function pictpath_CreateFcn(hObject, eventdata, handles)% hObjecthandle to pictpath (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction colornum_Callback(hObject, eventdata, handles)245% hObject% eventdata% handleshandle to colornum (see GCBO)reserved - to be defined in a future version of MATLABstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of colornum as text%str2double(get(hObject,'String')) returns contents of colornum as adouble% --- Executes during object creation, after setting all properties.function colornum_CreateFcn(hObject, eventdata, handles)% hObjecthandle to colornum (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction cmax_Callback(hObject, eventdata, handles)% hObjecthandle to cmax (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of cmax as text%str2double(get(hObject,'String')) returns contents of cmax as adouble% --- Executes during object creation, after setting all properties.function cmax_CreateFcn(hObject, eventdata, handles)% hObjecthandle to cmax (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit12_Callback(hObject, eventdata, handles)% hObjecthandle to edit12 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit12 as text%str2double(get(hObject,'String')) returns contents of edit12 as adouble246% --- Executes during object creation, after setting all properties.function edit12_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit12 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit13_Callback(hObject, eventdata, handles)% hObjecthandle to edit13 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit13 as text%str2double(get(hObject,'String')) returns contents of edit13 as adouble% --- Executes during object creation, after setting all properties.function edit13_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit13 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - 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');endfunction edit14_Callback(hObject, eventdata, handles)% hObjecthandle to edit14 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesstructure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit14 as text%str2double(get(hObject,'String')) returns contents of edit14 as adouble% --- Executes during object creation, after setting all properties.function edit14_CreateFcn(hObject, eventdata, handles)% hObjecthandle to edit14 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handlesempty - handles not created until after all CreateFcns called247% 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');end248ПРИЛОЖЕНИЕ Г.
ПАТЕНТЫ И АКТЫ ВНЕДРЕНИЯ249250251252253254255256257258259260.