资源简介
学习matlab的时候的实习内容。程序的旁边有详细的讲解,并附带了源码和实例图片,用GUI来实现的,不管是想学习matlab还是了解字符识别的原理,都是很不错的参考!

代码片段和文件信息
function varargout = CAR1(varargin)
% CAR1 M-file for CAR1.fig
% CAR1 by itself creates a new CAR1 or raises the existing
% singleton*.
%
% H = CAR1 returns the handle to a new CAR1 or the handle to
% the existing singleton*.
%
% CAR1(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in CAR1.M with the given input arguments.
%
% CAR1(‘Property‘‘Value‘...) creates a new CAR1 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before CAR1_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to CAR1_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
% Copyright 2002-2003 The MathWorks Inc.
% Edit the above text to modify the response to help CAR1
% Last Modified by GUIDE v2.5 04-Aug-2011 21:47:47
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @CAR1_OpeningFcn ...
‘gui_OutputFcn‘ @CAR1_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 CAR1 is made visible.
function CAR1_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 CAR1 (see VARARGIN)
% Choose default command line output for CAR1
handles.output = hobject;
%以下代码为手工添加,表示使用handles结构体来保存图形界面中各种对象的句柄,或者中间结果,这些句柄或者中间结果在创建图形对象或运算中产生,
%需要在以后的回调函数中多次用到,所以这里的作用类似于全局变量的作用,用来进行数据的传递。
handles.imgIn = [];
handles.imgOut = [];
handles.flag = 0;%判断标志
handles.pos = [];%图形对象所在位置
handles.lef = 1;
handles.top = 1;
handles.wid = 0;
handles.hig = 0;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes CAR1 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = CAR1_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 a
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 122 2007-05-19 11:59 CAR\0.bmp
文件 1560 2007-06-06 09:56 CAR\1.bmp
文件 7120 2011-08-04 21:30 CAR\car.asv
文件 438282 2007-05-15 21:34 CAR\car.bmp
文件 16643 2011-08-05 17:02 CAR\CAR1.asv
文件 1754 2011-08-04 21:48 CAR\CAR1.fig
文件 16643 2011-08-05 17:03 CAR\CAR1.m
文件 1198 2007-05-19 15:20 CAR\char_M.bmp
文件 1560 2007-06-06 09:58 CAR\FY10_-.bmp
文件 1560 2007-06-06 09:50 CAR\FY10_3.bmp
文件 1560 2007-06-06 10:13 CAR\FY10_4.bmp
文件 1560 2007-06-06 10:07 CAR\FY10_5.bmp
文件 1560 2007-06-06 08:46 CAR\FY10_D.bmp
文件 122 2007-05-19 11:56 CAR\FY10_F.bmp
文件 122 2007-05-19 11:57 CAR\FY10_M.bmp
文件 1560 2007-06-06 08:34 CAR\FY10_N.bmp
文件 122 2007-05-19 11:55 CAR\FY10_P.bmp
文件 38936 2007-05-31 11:25 CAR\img1032.jpg
文件 935 2005-05-19 08:49 CAR\JudgeAnalysis.m
文件 66850 2007-08-06 15:22 CAR\ordinary numbers - front.JPG
文件 396 2007-06-06 09:11 CAR\recognition.m
目录 0 2008-12-20 20:31 CAR
----------- --------- ---------- ----- ----
600165 22
- 上一篇:matlab实现kd_tree
- 下一篇:chameleon算法(matlab)
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论