• Tidak ada hasil yang ditemukan

BAB V PENUTUP

5.2 Saran

Saran yang diajukan untuk mengembangkan perangkat lunak ini yaitu : 1. Perangkat lunak ini dapat dikembangkan dengan menggunakan neural

netwark.

2. Perangkat lunak dapat dikembangkan dengan menambahkan fitur-fitur lain sehingga menjadi lebih menarik dan komplek.

74

DAFTAR PUSTAKA

Ahmad, U. 2005. Pengolahan Citra Digital dan Teknik Pemrogramannya. Yogyakarta : Graha Ilmu.

Arhami, M. 2005, Konsep Dasar Sistem Pakar. Yogyakarta : Andi

Binanto, I. 2010. Multimedia Digital Dasar dan Teori. Yogyakarta : Andi

Canny, J. 1986. A Computational Approach to Edge Detection

D. A. Pratiwi, Maryanti. S, Srikini, Suharno, Bambang, 2006, Biologi SMU Kelas 1 Semester 1. Jakarta: Erlangga

Tjitrosoepomo, G. 1988. Taksonomi Tumbuhan. Yogyakarta : Gadjah Mada University Pres

Kusumadewi, S. 2003, Artificial Intelegent. Yogyakarta : Graha Ilmu

Kendall, K.E. and J.E. Kendall. 2002. Systems Analysis and Design, Fifth Edition. New Jersey : Prentice Hall, Inc.

Munir, R. 2004. Pengolahan Citra Digital dengan Pendekatan Algoritmik. Bandung : Informatika.

75

Nazir, M. 2003. Metode Penelitian. Jakarta : Ghalia Indonesia.

Pressman, R.S. 2002. Rekayasa Perangkat Lunak Edisi Ke-1. Yogyakarta : Andi.

Pandjaitan, L. 2007. Dasar – Dasar Komputasi Cerdas. Yogyakarta : Andi

Sartika, D, 2008. Query Image Pada Database Multimedia Berdasarkan Geometri Primitif.

Jenis kelamin : Laki-laki

Tempat, tanggal lahir : Jepara, 15 Maret 1987 Kewarganegaraan : Indonesia

Status perkawinan : Belum menikah

Agama : Islam Alamat lengkap : Telepon, HP : 085283733774 E-mail : masyriqon@yahoo.com Pendidikan formal 1992 - 1998 : SDN Kaduagung Barat 1 1998 - 2001 : MTs Darul Iman Pandeglang 2001 - 2004 : MA Darul Iman Pandeglang

2004 - 2010 : JurusanTeknik Informatika, Fakultas Sains dan Teknologi, Universitas Islam Negeri (UIN) Syarif Hidayatullah, Jakarta

Judul Skripsi :

Identifikasi Tumbuhan kacang-kacangan (Papilionaceae) Menggunakan Sistem Pakar dengan Pendekatan Forward Chaining Kp. Cibadas Ds. Kaduagung Barat RT 01/01 Cibadak, Lebak, Banten

xvi

Tabel 4.1 Range Aspek Rasio Daun ……….. 54

Tabel 4.2 Range Form Faktor Daun ………... 55

Tabel 4.3 Range Diagonal Daun ……… 55

Tabel 4.4 Uji Coba Aplikasi ……….. 71

DAFTAR LAMPIRAN Lampiran Flowchart Program ………... 76

LAMPIRAN A FLOWCHART PROGRAM Diagram Alur Program

Hitung aspek rasio, form faktor dan diagonal daun

Tampilkan nama tumbuhan End Ya Tidak Start Pilih gambar Convert to grayscale Operator sobel

Range aspek rasio, form

faktor dan diagonal daun Convert to black & white

Tumbuhan tidak dikenalai

LAMPIRAN B

SOURCE CODE PROGRAM 1. Menu pembuka

function varargout = aw(varargin) % AW M-file for aw.fig

% AW, by itself, creates a new AW or raises the existing % singleton*.

%

% H = AW returns the handle to a new AW or the handle to % the existing singleton*.

%

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

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

%

% AW('Property','Value',...) creates a new AW or raises the % existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before aw_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application

% stop. All inputs are passed to aw_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 aw % Last Modified by GUIDE v2.5 08-Aug-2010 22:45:46 % Begin initialization code - DO NOT EDIT

gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @aw_OpeningFcn, ... 'gui_OutputFcn', @aw_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

% --- Executes just before aw is made visible.

function aw_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 aw (see VARARGIN)

% Choose default command line output for aw handles.output = hObject;

% Update handles structure guidata(hObject, handles);

% UIWAIT makes aw wait for user response (see UIRESUME) % uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line. function varargout = aw_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 pbClickMe.

function pbClickMe_Callback(hObject, eventdata, handles) % hObject handle to pbClickMe (see GCBO)

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

% handles structure with handles and user data (see GUIDATA) fig=openfig('coba_skripsi.fig');

handles=guihandles(fig); guidata(fig,handles);

% --- If Enable == 'on', executes on mouse press in 5 pixel border.

% --- Otherwise, executes on mouse press in 5 pixel border or over text2.

function text2_ButtonDownFcn(hObject, eventdata, handles) % hObject handle to text2 (see GCBO)

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

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

% --- 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

% --- Executes on button press in pushbutton2.

function pushbutton2_Callback(hObject, eventdata, handles) % hObject handle to pushbutton2 (see GCBO)

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

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

2. Menu utama

function varargout = coba_skripsi(varargin) % COBA_SKRIPSI M-file for coba_skripsi.fig

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

% singleton*. %

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

% the existing singleton*. %

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

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

%

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

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

% applied to the GUI before coba_skripsi_OpeningFcn gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to coba_skripsi_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 coba_skripsi % Last Modified by GUIDE v2.5 31-Aug-2010 22:55:15

gui_Singleton = 1;

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

'gui_OpeningFcn', @coba_skripsi_OpeningFcn, ... 'gui_OutputFcn', @coba_skripsi_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

function wait_Callback(hObject, eventdata, handles) % hObject handle to pushbutton8 (see GCBO)

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

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

h=waitbar(0,'Harap Tunggu...'); n=1; pjg=1000; while n <= pjg n=n+1; waitbar(n/pjg); end close(h);

% --- Executes just before coba_skripsi is made visible.

function coba_skripsi_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 coba_skripsi (see VARARGIN) % Choose default command line output for coba_skripsi

handles.output = hObject; % Update handles structure guidata(hObject, handles);

% UIWAIT makes coba_skripsi wait for user response (see UIRESUME) % uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line. function varargout = coba_skripsi_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 buka_push.

function buka_push_Callback(hObject, eventdata, handles) % hObject handle to buka_push (see GCBO)

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

% handles structure with handles and user data (see GUIDATA) buka = guidata(gcbo);

[namafile,direktori]=uigetfile({'*.jpg';'*.tif';'*.*'},'buka citra');

I = imread(strcat(direktori,namafile)); wait_Callback(hObject, eventdata, handles) set(buka.figure1,'CurrentAxes',buka.axes1); set(imshow(I));

set(buka.axes1,'userdata',I); %set(buka.figure1,'userdata',I);

% --- Executes on button press in proses_push.

function proses_push_Callback(hObject, eventdata, handles) % hObject handle to proses_push (see GCBO)

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

% handles structure with handles and user data (see GUIDATA) buka = guidata(gcbo); I=get(buka.axes1,'userdata'); A=rgb2gray(I); set(buka.figure1,'CurrentAxes',buka.axes2); set(imshow(A)); %set(buka.axes2,'userdata',A); bw = im2bw(A); axes(handles.axes3); imshow(bw); %edgedetection e=edge(bw,'sobel'); axes(handles.axes6); set(imshow(e)); [x,y]=size(e); brs=1;

%mencari rasio daun for rep1=1:x; for rep2=1:y; if e(rep1,rep2)==1; kord(brs,1)=rep1; kord(brs,2)=rep2; brs=brs+1; end end end [a,b]=size(kord); atas=kord(1,1); bwh=kord(a,1); tinggi=bwh-atas; ilbr=1; for rep3=2:a hasil=kord(rep3,1)-kord(rep3-1,1); if hasil==0 lbr(ilbr)=kord(rep3,2)-kord(rep3-1,2); ilbr=ilbr+1; end end lebar=max(lbr); rasiodaun=tinggi/lebar; r=num2str(rasiodaun); set(handles.output1,'String',r); guidata(hObject,handles);

%mencari keliling daun kelilingdaun=a;

%mencari luas daun jumpix=0; for rep4=1:x for rep5=1:y if bw(rep4,rep5)==0 jumpix=jumpix+1; end end end luasdaun=jumpix; %mencari pucuk daun %pucuk=luasdaun/15;

%set(handles.output4,'String',pucuk); %guidata(hObject,handles);

% mencari form factor

formfactor=(4*3.14*luasdaun)/((kelilingdaun)^2); f=num2str(formfactor);

set(handles.output2,'String',f); guidata(hObject,handles);

%jumlah diag bw1=~bw; g=sum(diag(bw1,20)); %gd=num2str(dg); set(handles.output3,'String',g); guidata(hObject,handles);

if ((rasiodaun >= 1.738)&(rasiodaun <= 2.4378))&((formfactor >= 0.83312)&(formfactor <= 1.0539))&((g >= 26)&(g <= 35))

set(handles.outputdaun,'string','kacang tanah');

else if ((rasiodaun >= 2.8076)&(rasiodaun <= 3.09))&((formfactor >= 0.70344)&(formfactor <= 0.76195))&((g >= 19)&(g <= 23))

set(handles.outputdaun,'string','turi putih'); else if ((rasiodaun >= 1.6)&(rasiodaun <=

1.8605))&((formfactor >= 0.7242)&(formfactor <= 0.86914))&((g >= 17)&(g <= 24))

set(handles.outputdaun,'string','kacang panjang'); else if ((rasiodaun >= 1.4181)&(rasiodaun <=

1.7318))&((formfactor >= 0.91601)&(formfactor <= 1.1038))&((g >= 29)&(g <= 40))

set(handles.outputdaun,'string','Angsana'); else if ((rasiodaun >= 1.023)&(rasiodaun <=

1.1306))&((formfactor >= 0.73965)&(formfactor <= 0.90469))&((g >= 41.5)&(g <= 51))

set(handles.outputdaun,'string','Dadap');

else if((rasiodaun <= 1.737)||(rasiodaun >=

2.4380))||((formfactor <= 0.83313)||(formfactor >= 1.0541))||((g <= 25)||(g >= 36))||((pucuk <=54.6648 )||(pucuk >= 61))

set(handles.outputdaun,'string','tidak dikenali');

else if ((rasiodaun <= 2.8070)||(rasiodaun >= 3.12))||((formfactor <= 0.70340)||(formfactor >= 0.76199))||((g <= 18)||(g >=

23.5))||((pucuk <=51 )||(pucuk >= 56.5))

set(handles.outputdaun,'string','tidak dikenali'); else if ((rasiodaun <= 1.54)||(rasiodaun >=

1.866))||((formfactor <= 0.7240)||(formfactor >= 0.86919))||((g <= 16)||(g >= 24.5))||((pucuk <=60 )||(pucuk >= 64.5))

set(handles.outputdaun,'string','tidak dikenali'); else if ((rasiodaun <= 1.4175)||(rasiodaun >=

1.7325))||((formfactor <= 0.9155)||(formfactor >= 1.1041))||((g <= 28)||(g >= 40.5))||((pucuk <=56.3320 )||(pucuk >= 63.6680))

set(handles.outputdaun,'string','tidak dikenali'); else if ((rasiodaun <= 1.020)||(rasiodaun >=

1.1310))||((formfactor <= 0.73960)||(formfactor >= 0.90475))||((g <= 41.)||(g >= 52))||((pucuk <=7.5 )||(pucuk >= 88.5)) set(handles.outputdaun,'string','tidak dikenali'); end end end end end

end end end end end

function outputdaun_Callback(hObject, eventdata, handles) % hObject handle to outputdaun (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 outputdaun as text

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

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

function outputdaun_CreateFcn(hObject, eventdata, handles) % hObject handle to outputdaun (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 button press in tutup_push.

function tutup_push_Callback(hObject, eventdata, handles) % hObject handle to tutup_push (see GCBO)

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

% handles structure with handles and user data (see GUIDATA) selection=questdlg(['Keluar dari ',get(handles.figure1,'name'),' ?'],... ['Keluar ',get(handles.figure1,'name'),' ...'],... 'Ya','Tidak','Ya'); if strcmp(selection,'Tidak') return; end delete(handles.figure1); %

----function Untitled_1_Callback(hObject, eventdata, handles) % hObject handle to Untitled_1 (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 save_push.

function save_push_Callback(hObject, eventdata, handles) % hObject handle to save_push (see GCBO)

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

% handles structure with handles and user data (see GUIDATA) %buka = guidata(gcbo); %[namafile,direktori] = uiputfile({'*.JPG';'*.tif'},'simpanfile'); %I = get(proyek.axes6,'Userdata'); %imwrite(I,strcat(direktori,namafile)); %proyek=guidata(gcbo); %I=get(proyek.figure1,'Userdata'); %set(proyek.figure1,'CurrentAxes',proyek.axes1); %set(imshow(I)); %set(proyek.axes1,'Userdata',I);

function output1_Callback(hObject, eventdata, handles) % hObject handle to output1 (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 output1 as text % str2double(get(hObject,'String')) returns contents of output1 as a double

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

function output1_CreateFcn(hObject, eventdata, handles) % hObject handle to output1 (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

% hObject handle to output2 (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 output2 as text % str2double(get(hObject,'String')) returns contents of output2 as a double

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

function output2_CreateFcn(hObject, eventdata, handles) % hObject handle to output2 (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 Untitled_2_Callback(hObject, eventdata, handles) % hObject handle to Untitled_2 (see GCBO)

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

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

% --- Executes on mouse press over axes background.

function axes2_ButtonDownFcn(hObject, eventdata, handles) % hObject handle to axes2 (see GCBO)

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

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

function output3_Callback(hObject, eventdata, handles) % hObject handle to output3 (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 output3 as text % str2double(get(hObject,'String')) returns contents of output3 as a double

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

function output3_CreateFcn(hObject, eventdata, handles) % hObject handle to output3 (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 output4_Callback(hObject, eventdata, handles) % hObject handle to output4 (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 output4 as text % str2double(get(hObject,'String')) returns contents of output4 as a double

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

function output4_CreateFcn(hObject, eventdata, handles) % hObject handle to output4 (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 output5_Callback(hObject, eventdata, handles) % hObject handle to output5 (see GCBO)

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

% Hints: get(hObject,'String') returns contents of output5 as text % str2double(get(hObject,'String')) returns contents of output5 as a double

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

function output5_CreateFcn(hObject, eventdata, handles) % hObject handle to output5 (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 button press in pushbutton6.

function pushbutton6_Callback(hObject, eventdata, handles) % hObject handle to pushbutton6 (see GCBO)

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

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

function output6_Callback(hObject, eventdata, handles) % hObject handle to output6 (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 output6 as text % str2double(get(hObject,'String')) returns contents of output6 as a double

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

function output6_CreateFcn(hObject, eventdata, handles) % hObject handle to output6 (see GCBO)

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

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

% See ISPC and COMPUTER.

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

set(hObject,'BackgroundColor','white'); end

function output7_Callback(hObject, eventdata, handles) % hObject handle to output7 (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 output7 as text % str2double(get(hObject,'String')) returns contents of output7 as a double

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

function output7_CreateFcn(hObject, eventdata, handles) % hObject handle to output7 (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 output8_Callback(hObject, eventdata, handles) % hObject handle to output8 (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 output8 as text % str2double(get(hObject,'String')) returns contents of output8 as a double

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

function output8_CreateFcn(hObject, eventdata, handles) % hObject handle to output8 (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 output9_Callback(hObject, eventdata, handles) % hObject handle to output9 (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 output9 as text % str2double(get(hObject,'String')) returns contents of output9 as a double

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

function output9_CreateFcn(hObject, eventdata, handles) % hObject handle to output9 (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

Dokumen terkait