12.07.2015 Views

Lampiran : Flow Chart Disain GUI MATLAB Disain Uicontrol ...

Lampiran : Flow Chart Disain GUI MATLAB Disain Uicontrol ...

Lampiran : Flow Chart Disain GUI MATLAB Disain Uicontrol ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Lampiran</strong> D: Fungsi M-file untuk program aplikasi Bangun Datarfunction varargout = Bangun_Datar(varargin)% BANGUN_DATAR M-file for Bangun_Datar.fig% BANGUN_DATAR, by itself, creates a new BANGUN_DATAR or raises the existing% singleton*.%% H = BANGUN_DATAR returns the handle to a new BANGUN_DATAR or the handle to% the existing singleton*.%% BANGUN_DATAR('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in BANGUN_DATAR.M with the given input arguments.%% BANGUN_DATAR('Property','Value',...) creates a new BANGUN_DATAR or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the <strong>GUI</strong> before Bangun_Datar_OpeningFunction gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to Bangun_Datar_OpeningFcn via varargin.%% *See <strong>GUI</strong> Options on <strong>GUI</strong>DE's Tools menu. Choose "<strong>GUI</strong> allows only one% instance to run (singleton)".%% See also: <strong>GUI</strong>DE, <strong>GUI</strong>DATA, <strong>GUI</strong>HANDLES% Edit the above text to modify the response to help Bangun_Datar% Last Modified by <strong>GUI</strong>DE v2.5 12-Sep-2007 15:19:29% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ...'gui_Singleton', gui_Singleton, ...'gui_OpeningFcn', @Bangun_Datar_OpeningFcn, ...'gui_OutputFcn', @Bangun_Datar_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{:});elsegui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDITfunction matikan(off)set(off,'Value',0);% --- Executes just before Bangun_Datar is made visible.function Bangun_Datar_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 <strong>MATLAB</strong>% handles structure with handles and user data (see <strong>GUI</strong>DATA)% varargin command line arguments to Bangun_Datar (see VARARGIN)% Choose default command line output for Bangun_Datarhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes Bangun_Datar wait for user response (see UIRESUME)% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.function varargout = Bangun_Datar_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 <strong>MATLAB</strong>% handles structure with handles and user data (see <strong>GUI</strong>DATA)Universitas Sumatera Utara

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!