function varargout = calculator(varargin)
% CALCULATOR MATLAB code for calculator.fig % CALCULATOR, by itself, creates a new CALCULATOR or raises the existing % singleton*. % % H = CALCULATOR returns the handle to a new CALCULATOR or the handle to % the existing singleton*. % % CALCULATOR('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in CALCULATOR.M with the given input arguments. % % CALCULATOR('Property','Value',...) creates a new CALCULATOR or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before calculator_OpeningFcn gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to calculator_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