Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатика
ИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханика
ОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторика
СоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансы
ХимияЧерчениеЭкологияЭкономикаЭлектроника

ПРИЛОЖЕНИЕ 1. Листинг программы compensator

Читайте также:
  1. А) сведения о российской организации по установленной форме (приложение);
  2. Выбор топологии также необходимо производить исходя из существующих условий. Для построения сети используем Приложение Б – Схема проекта квартала.
  3. Другое приложение любви – рождение духа имперской жертвенности.
  4. Карты, схемы (см. приложение 45)
  5. Клиентское приложение
  6. Ключевые пункты рекомендаций и приложение по проведению анестезии, миоплегии и интенсивной терапии пациентам
  7. Методы экспериментального определения пирофорности веществ и склонность веществ и материалов к самовозгоранию - в соответствии с приложением 5 и ГОСТ 12.1.044-89.

Листинг программы "compensator"

function varargout = compensator(varargin)

% COMPENSATOR M-file for compensator.fig

% COMPENSATOR, by itself, creates a new COMPENSATOR or raises the existing

% singleton*.

%

% H = COMPENSATOR returns the handle to a new COMPENSATOR or the handle to

% the existing singleton*.

%

% COMPENSATOR('CALLBACK',hObject,eventData,handles,...) calls the local

% function named CALLBACK in COMPENSATOR.M with the given input arguments.

%

% COMPENSATOR('Property','Value',...) creates a new COMPENSATOR or raises

% the existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before compensator_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to compensator_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 compensator

 

% Last Modified by GUIDE v2.5 14-Dec-2011 11:46:09

 

% Begin initialization code - DO NOT EDIT

gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename,...

'gui_Singleton', gui_Singleton,...

'gui_OpeningFcn', @compensator_OpeningFcn,...

'gui_OutputFcn', @compensator_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 compensator is made visible.

function compensator_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 compensator (see VARARGIN)

 

% Choose default command line output for compensator

handles.output = hObject;

 

% Update handles structure

guidata(hObject, handles);

 

initialize_gui(hObject, handles, false);

 

% UIWAIT makes compensator wait for user response (see UIRESUME)

% uiwait(handles.figure1);

 

 

% --- Outputs from this function are returned to the command line.

function varargout = compensator_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 during object creation, after setting all properties.

function density_CreateFcn(hObject, eventdata, handles)

% hObject handle to density (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 density_Callback(hObject, eventdata, handles)

% hObject handle to density (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 density as text

% str2double(get(hObject,'String')) returns contents of density as a double

density = str2double(get(hObject, 'String'));

if isnan(density)

set(hObject, 'String', 0);

errordlg('Input must be a number','Error');

end

 

% Save the new density value

handles.metricdata.density = density;

guidata(hObject,handles)

 

% --- Executes during object creation, after setting all properties.

function volume_CreateFcn(hObject, eventdata, handles)

% hObject handle to volume (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 volume_Callback(hObject, eventdata, handles)

% hObject handle to volume (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 volume as text

% str2double(get(hObject,'String')) returns contents of volume as a double

volume = str2double(get(hObject, 'String'));

if isnan(volume)

set(hObject, 'String', 0);

errordlg('Input must be a number','Error');

end

 

% Save the new volume value

handles.metricdata.volume = volume;

guidata(hObject,handles)

 

% --- Executes on button press in calculate.

function calculate_Callback(hObject, eventdata, handles)

% hObject handle to calculate (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

mass = handles.metricdata.density * handles.metricdata.volume;

set(handles.mass, 'String', mass);

 

% --- Executes on button press in reset.

function reset_Callback(hObject, eventdata, handles)

% hObject handle to reset (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

initialize_gui(gcbf, handles, true);

 

% --- Executes when selected object changed in unitgroup.

function unitgroup_SelectionChangeFcn(hObject, eventdata, handles)

% hObject handle to the selected object in unitgroup

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

if (hObject == handles.english)

set(handles.text4, 'String', 'lb/cu.in');

set(handles.text5, 'String', 'cu.in');

set(handles.text6, 'String', 'lb');

else

set(handles.text4, 'String', 'kg/cu.m');

set(handles.text5, 'String', 'cu.m');

set(handles.text6, 'String', 'kg');

end

 

% --------------------------------------------------------------------

function initialize_gui(fig_handle, handles, isreset)

% If the metricdata field is present and the reset flag is false, it means

% we are we are just re-initializing a GUI by calling it from the cmd line

% while it is up. So, bail out as we dont want to reset the data.

if isfield(handles, 'metricdata') && ~isreset

return;

end

 

handles.metricdata.density = 0;

handles.metricdata.volume = 0;

 

set(handles.density, 'String', handles.metricdata.density);

set(handles.volume, 'String', handles.metricdata.volume);

set(handles.mass, 'String', 0);

 

set(handles.unitgroup, 'SelectedObject', handles.english);

 

set(handles.text4, 'String', 'lb/cu.in');

set(handles.text5, 'String', 'cu.in');

set(handles.text6, 'String', 'lb');

 

% Update handles structure

guidata(handles.figure1, handles);

 

 

% --- Executes on button press in pushbutton9.

function pushbutton9_Callback(hObject, eventdata, handles)

% hObject handle to pushbutton9 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

 

% --- Executes on selection change in listbox4.

function listbox4_Callback(hObject, eventdata, handles)

% hObject handle to listbox4 (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 listbox4 contents as cell array

% contents{get(hObject,'Value')} returns selected item from listbox4

 

 

% --- Executes during object creation, after setting all properties.

function listbox4_CreateFcn(hObject, eventdata, handles)

% hObject handle to listbox4 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

 

% Hint: listbox 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 checkbox1.

function checkbox1_Callback(hObject, eventdata, handles)

% hObject handle to checkbox1 (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 checkbox1

 

 

% --- Executes on button press in checkbox2.

function checkbox2_Callback(hObject, eventdata, handles)

% hObject handle to checkbox2 (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 checkbox2

 

 

% --- Executes on button press in togglebutton14.

function togglebutton14_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton14 (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 togglebutton14

 

 

% --- Executes on button press in togglebutton15.

function togglebutton15_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton15 (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 togglebutton15

 

 

% --- Executes on button press in togglebutton11.

function togglebutton11_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton11 (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 togglebutton11

 

 

% --- Executes on button press in togglebutton12.

function togglebutton12_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton12 (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 togglebutton12

 

 

% --- Executes on button press in togglebutton13.

function togglebutton13_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton13 (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 togglebutton13

 

 

% --- Executes on button press in togglebutton1.

function togglebutton1_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton1 (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 togglebutton1

 

 

% --- Executes on button press in togglebutton2.

function togglebutton2_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton2 (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 togglebutton2

 

 

% --- Executes on button press in togglebutton3.

function togglebutton3_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton3 (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 togglebutton3

 

 

% --- Executes on button press in togglebutton4.

function togglebutton4_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton4 (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 togglebutton4

 

 

% --- Executes on button press in togglebutton5.

function togglebutton5_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton5 (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 togglebutton5

Листинг программы "refregerating"

function varargout = refregerating(varargin)

% REFREGERATING M-file for refregerating.fig

% REFREGERATING, by itself, creates a new REFREGERATING or raises the existing

% singleton*.

%

% H = REFREGERATING returns the handle to a new REFREGERATING or the handle to

% the existing singleton*.

%

% REFREGERATING('CALLBACK',hObject,eventData,handles,...) calls the local

% function named CALLBACK in REFREGERATING.M with the given input arguments.

%

% REFREGERATING('Property','Value',...) creates a new REFREGERATING or raises

% the existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before refregerating_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to refregerating_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 refregerating

 

% Last Modified by GUIDE v2.5 14-Dec-2011 12:43:26

 

% Begin initialization code - DO NOT EDIT

gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename,...

'gui_Singleton', gui_Singleton,...

'gui_OpeningFcn', @refregerating_OpeningFcn,...

'gui_OutputFcn', @refregerating_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 refregerating is made visible.

function refregerating_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 refregerating (see VARARGIN)

 

% Choose default command line output for refregerating

handles.output = hObject;

 

% Update handles structure

guidata(hObject, handles);

 

initialize_gui(hObject, handles, false);

 

% UIWAIT makes refregerating wait for user response (see UIRESUME)

% uiwait(handles.figure1);

 

 

% --- Outputs from this function are returned to the command line.

function varargout = refregerating_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 during object creation, after setting all properties.

function density_CreateFcn(hObject, eventdata, handles)

% hObject handle to density (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 density_Callback(hObject, eventdata, handles)

% hObject handle to density (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 density as text

% str2double(get(hObject,'String')) returns contents of density as a double

density = str2double(get(hObject, 'String'));

if isnan(density)

set(hObject, 'String', 0);

errordlg('Input must be a number','Error');

end

 

% Save the new density value

handles.metricdata.density = density;

guidata(hObject,handles)

 

% --- Executes during object creation, after setting all properties.

function volume_CreateFcn(hObject, eventdata, handles)

% hObject handle to volume (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 volume_Callback(hObject, eventdata, handles)

% hObject handle to volume (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 volume as text

% str2double(get(hObject,'String')) returns contents of volume as a double

volume = str2double(get(hObject, 'String'));

if isnan(volume)

set(hObject, 'String', 0);

errordlg('Input must be a number','Error');

end

 

% Save the new volume value

handles.metricdata.volume = volume;

guidata(hObject,handles)

 

% --- Executes on button press in calculate.

function calculate_Callback(hObject, eventdata, handles)

% hObject handle to calculate (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

mass = handles.metricdata.density * handles.metricdata.volume;

set(handles.mass, 'String', mass);

 

% --- Executes on button press in reset.

function reset_Callback(hObject, eventdata, handles)

% hObject handle to reset (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

initialize_gui(gcbf, handles, true);

 

% --- Executes when selected object changed in unitgroup.

function unitgroup_SelectionChangeFcn(hObject, eventdata, handles)

% hObject handle to the selected object in unitgroup

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

if (hObject == handles.english)

set(handles.text4, 'String', 'lb/cu.in');

set(handles.text5, 'String', 'cu.in');

set(handles.text6, 'String', 'lb');

else

set(handles.text4, 'String', 'kg/cu.m');

set(handles.text5, 'String', 'cu.m');

set(handles.text6, 'String', 'kg');

end

 

% --------------------------------------------------------------------

function initialize_gui(fig_handle, handles, isreset)

% If the metricdata field is present and the reset flag is false, it means

% we are we are just re-initializing a GUI by calling it from the cmd line

% while it is up. So, bail out as we dont want to reset the data.

if isfield(handles, 'metricdata') && ~isreset

return;

end

 

handles.metricdata.density = 0;

handles.metricdata.volume = 0;

 

set(handles.density, 'String', handles.metricdata.density);

set(handles.volume, 'String', handles.metricdata.volume);

set(handles.mass, 'String', 0);

 

set(handles.unitgroup, 'SelectedObject', handles.english);

 

set(handles.text4, 'String', 'lb/cu.in');

set(handles.text5, 'String', 'cu.in');

set(handles.text6, 'String', 'lb');

 

% Update handles structure

guidata(handles.figure1, handles);

 

 

% --- Executes on button press in pushbutton9.

function pushbutton9_Callback(hObject, eventdata, handles)

% hObject handle to pushbutton9 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

 

 

% --- Executes on button press in togglebutton1.

function togglebutton1_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton1 (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 togglebutton1

 

 

% --- Executes on button press in togglebutton2.

function togglebutton2_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton2 (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 togglebutton2

 

 

% --- Executes on button press in togglebutton3.

function togglebutton3_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton3 (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 togglebutton3

 

 

% --- Executes on button press in togglebutton4.

function togglebutton4_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton4 (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 togglebutton4

 

 

% --- Executes on button press in togglebutton5.

function togglebutton5_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton5 (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 togglebutton5

 

 

% --- Executes on slider movement.

function slider2_Callback(hObject, eventdata, handles)

% hObject handle to slider2 (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,'Value') returns position of slider

% get(hObject,'Min') and get(hObject,'Max') to determine range of slider

 

 

% --- Executes during object creation, after setting all properties.

function slider2_CreateFcn(hObject, eventdata, handles)

% hObject handle to slider2 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

 

% Hint: slider controls usually have a light gray background.

if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))

set(hObject,'BackgroundColor',[.9.9.9]);

end

 

 

% --- Executes on button press in checkbox1.

function checkbox1_Callback(hObject, eventdata, handles)

% hObject handle to checkbox1 (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 checkbox1

 

 

% --- Executes on button press in checkbox3.

function checkbox3_Callback(hObject, eventdata, handles)

% hObject handle to checkbox3 (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 checkbox3

 

 

% --- Executes on button press in togglebutton15.

function togglebutton15_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton15 (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 togglebutton15

 

 

% --- Executes on button press in togglebutton16.

function togglebutton16_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton16 (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 togglebutton16

 

 

% --- Executes on button press in togglebutton10.

function togglebutton10_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton10 (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 togglebutton10

 

 

% --- Executes on button press in togglebutton11.

function togglebutton11_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton11 (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 togglebutton11

 

 

% --- Executes on button press in togglebutton12.

function togglebutton12_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton12 (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 togglebutton12

 

 

% --- Executes on button press in togglebutton13.

function togglebutton13_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton13 (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 togglebutton13

 

 

% --- Executes on selection change in listbox1.

function listbox1_Callback(hObject, eventdata, handles)

% hObject handle to listbox1 (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 listbox1 contents as cell array

% contents{get(hObject,'Value')} returns selected item from listbox1

 

 

% --- Executes during object creation, after setting all properties.

function listbox1_CreateFcn(hObject, eventdata, handles)

% hObject handle to listbox1 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

 

% Hint: listbox 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 togglebutton14.

function togglebutton14_Callback(hObject, eventdata, handles)

% hObject handle to togglebutton14 (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 togglebutton14

 

 

% --- Executes during object creation, after setting all properties.

function uitable2_CreateFcn(hObject, eventdata, handles)

% hObject handle to uitable2 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

 


Дата добавления: 2015-07-11; просмотров: 107 | Нарушение авторских прав


Читайте в этой же книге: Автоматические регуляторы возбуждения синхронных компенсаторов с поперечной обмоткой ротора. | Построение математической модели СК | Построение структурной схемы СУ-q | Программирование интерфейса верхнего уровня | Выбор технических средств | Модули автоматического регулирования FM 455С | Коммуникационный процессор СР 443-5 | Расчет затрат на этапе проектирования | Анализ условий труда в научно-исследовательской лаборатории | Расчет искусственного освещения |
<== предыдущая страница | следующая страница ==>
ЗАКЛЮЧЕНИЕ| Наружная сонная артерия, a. carotis externa, в пределах сонного треугольника сразу после бифуркации отдает несколько ветвей.

mybiblioteka.su - 2015-2024 год. (0.111 сек.)