资源简介
这个是上个《一个实例搞定MATLAB界面编程》中的做的例子
其实,你也可以看看我写的其他的有关MATLAB的界面方面的程序,里面有些功能或许你需要的。
代码片段和文件信息
function varargout = im2bw_args(varargin)
% IM2BW_ARGS M-file for im2bw_args.fig
% IM2BW_ARGS by itself creates a new IM2BW_ARGS or raises the existing
% singleton*.
%
% H = IM2BW_ARGS returns the handle to a new IM2BW_ARGS or the handle to
% the existing singleton*.
%
% IM2BW_ARGS(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in IM2BW_ARGS.M with the given input arguments.
%
% IM2BW_ARGS(‘Property‘‘Value‘...) creates a new IM2BW_ARGS or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before im2bw_args_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to im2bw_args_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 im2bw_args
% Last Modified by GUIDE v2.5 25-Mar-2009 12:44:36
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @im2bw_args_OpeningFcn ...
‘gui_OutputFcn‘ @im2bw_args_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 im2bw_args is made visible.
function im2bw_args_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 im2bw_args (see VARARGIN)
% Choose default command line output for im2bw_args
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes im2bw_args wait for user response (see UIRESUME)
% uiwait(handles.figure_im2bw);
h_pjimage=findobj(‘Tag‘‘figure_pjimage‘);
h_pjimage=guihandles(h_pjimage);
setappdata(handles.figure_im2bw‘h_pjimage‘h_pjimage);
% --- Outputs from this function are returned to the command line.
function varargout = im2bw_args_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 sli
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 16709 2009-03-25 18:47 Example\pjimage.m
文件 16878 2009-03-25 18:46 Example\pjimage.fig
文件 7875 2008-12-26 12:16 Example\touxiang.jpg
文件 4152 2009-03-25 17:30 Example\im2bw_args.m
文件 2655 2009-03-25 17:27 Example\im2bw_args.fig
目录 0 2009-03-25 08:24 Example
文件 13443 2009-03-25 18:28 Example\pjimage.asv
文件 6100662 2007-06-04 17:10 Example\mandi.tif
文件 65240 2000-12-04 13:57 Example\cameraman.tif
文件 20480 2003-05-03 13:59 Example\snowflakes.png
文件 44607 2003-01-26 01:03 Example\rice.png
----------- --------- ---------- ----- ----
6292701 11
相关资源
- 基于信息熵方法的多阈值图像分割算
- Matlab小波分析工具箱原理与应用.pdf
-
PV光伏电池matlabSIMUli
nk - 阵列信号处理中的基于matlab的MUSIC
- RMSHE的MATLAB源代码
- 雷达系统分析与设计(MATLAB版)(第
- Massive MIMO信号检测算法以及信道估计
- MATLAB作图及各种作图函数
- Nonlinear control systems using MATLAB(2019)
- matlab数学建模及数学实验
- AES加密算法的MATLAB仿真
-
FMI Toolbox for Matlab/Simuli
nk的安装和使 - [精通MATLAB GUI设计第3版][陈垚光毛涛涛
- 图像去噪方法分析比较BLS GSM BM3D Non
- 张正友标定程序—MATLAB
- MATLAB 深度学习简介(ppt)
- Census及Hamming距离三维立体重建Matlab程
- NMFSC处理程序,非负矩阵分解matlab程序
- [MATLAB精品丛书][高清文字版]MATLAB语言
- Matlab凸优化工具箱
-
Matlab分享系列 - 3 - Matlab_Simuli
nk代码 - 数字信号处理及其MATLAB实现
- Matlab中unwrap函数C代码实现
- Matlab神经网络工具箱使用教程
- 基于LABVIEW和MATLAB混合编程障碍物识别
- 减速器优化
- 摄像头数字识别matlab程序.zip
- matlab预测控制工具箱使用手册
- PCA人脸识别论文附MATLAB程序
- matlab聚类分析工具箱很好用
评论
共有 条评论