资源简介
MATLAB的gui界面设计实例,计算器,经典有用
代码片段和文件信息
function varargout = l1(varargin)
% L1 M-file for l1.fig
% L1 by itself creates a new L1 or raises the existing
% singleton*.
%
% H = L1 returns the handle to a new L1 or the handle to
% the existing singleton*.
%
% L1(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in L1.M with the given input arguments.
%
% L1(‘Property‘‘Value‘...) creates a new L1 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before l1_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to l1_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 l1
% Last Modified by GUIDE v2.5 11-May-2010 11:18:42
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @l1_OpeningFcn ...
‘gui_OutputFcn‘ @l1_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin & isstr(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 l1 is made visible.
function l1_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 l1 (see VARARGIN)
% Choose default command line output for l1
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes l1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = l1_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 but7.
function but7_Callback(hobject eventdata handles)
% hobject handle to but7 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDAT
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8289 2010-05-11 11:33 l1.m
文件 22872 2010-05-14 16:02 l1.fig
----------- --------- ---------- ----- ----
31161 2
相关资源
- REFPROP8与matlab接口文件
- minFunc_2012 一个最优化的Matlab工具箱
- Matlab实现常见的图像质量评价指标
- 双缝干涉实验的matlab实现
- 水平集图像分割的Matlab程序代码
- STOI 短时客观可懂度MATLAB代码
- matlab的pwm函数编写
- HOG特征提取 matlab代码
- OMP算法MATLAB程序
- 神经网络故障诊断和数据预测的matl
- 数字图像处理直方图规定化与均衡化
- matlab学习教程全集
- 分类画混淆矩阵的代码
- 基于matlab的图像处理设计
- EOF的matlab程序
- MRF图像分割步骤与MATLAB程序
- BGLL算法matlab实现 社区挖掘
- PST电力系统工具包
-
ofdm的simuli
nk,matlab仿真 - CLEAN算法matlab代码
- 通信仿真 ofdm-bpsk
- matlab实现的经典滤波器及其设计
- 基于MATLAB实现RAS法投入产出表.zip
- 基于matlab遗传算法的数据拟合代码
- 配电网遍历算法.docx
- 双目立体视觉Census算法 matlab
- 双目立体视觉快速NCC算法 matlab
- 双目立体视觉彩色SAD算法matlab
- adaboost 演示demo基于Matlab,学习算法包
-
电池BMS管理系统simuli
nk模型
评论
共有 条评论