资源简介
matlab简单的统计硬币个数程序,包含示例图片,运行m文件即可出现GUI 界面,选择文件,开始统计即可.
代码片段和文件信息
function varargout = countingnumberofcoins(varargin)
% COUNTINGNUMBEROFCOINS MATLAB code for countingnumberofcoins.fig
% COUNTINGNUMBEROFCOINS by itself creates a new COUNTINGNUMBEROFCOINS or raises the existing
% singleton*.
%
% H = COUNTINGNUMBEROFCOINS returns the handle to a new COUNTINGNUMBEROFCOINS or the handle to
% the existing singleton*.
%
% COUNTINGNUMBEROFCOINS(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in COUNTINGNUMBEROFCOINS.M with the given input arguments.
%
% COUNTINGNUMBEROFCOINS(‘Property‘‘Value‘...) creates a new COUNTINGNUMBEROFCOINS or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before countingnumberofcoins_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to countingnumberofcoins_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 countingnumberofcoins
% Last Modified by GUIDE v2.5 09-Nov-2016 12:14:02
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @countingnumberofcoins_OpeningFcn ...
‘gui_OutputFcn‘ @countingnumberofcoins_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 countingnumberofcoins is made visible.
function countingnumberofcoins_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 countingnumberofcoins (see VARARGIN)
% Choose default command line output for countingnumberofcoins
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes countingnumberofcoins wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = countingnumberofcoins_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)
%
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6177 2016-11-09 12:14 countingnumberofcoins.fig
文件 7780 2016-11-10 14:20 countingnumberofcoins.m
文件 2703971 2016-11-09 11:39 IMG_20161107_221241.jpg
文件 501502 2016-11-09 11:39 IMG_20161107_222144.jpg
文件 160452 2016-11-09 11:39 IMG_20161107_222413.jpg
----------- --------- ---------- ----- ----
3379882 5
相关资源
- Matlab仿真及其在光学课程中的应用源
- 质量块-阻尼器-弹簧系统的鲁棒控制
- MATLAB在语音信号分析与合成中的应用
- 最全时频分析工具箱
- 用Matlab绘制发动机万有特性曲线
- Error Control Coding
- SRC人脸识别程序MATLAB
- CBIR(MATLABHSV直方图,Haar纹理特征,
- 标准UCI数据库
- 车牌识别matlab简单实现
- MATLAB 6.5 辅助小波分析与应用 飞思科
- MATLAB之父_编程实践 源代码
- IEEE 802.15.4 Zigbee Matlab模拟器源代码
- MATLAB在语音信号分析与合成中的应用
- pscad与matlab接口
- SpaceDYN 空间环境仿真matlab工具包
- PID控制及其MATLAB仿真--详细.ppt
- 联合双边滤波代码matlab
- 图形模式识别 matlab 圆 正方形
- matlab薛定谔方程的仿真
- 基于颜色的图像分割算法MATLAB代码
- matlab-BGL工具箱及使用说明
- MATLAB7简明教程(清华大学出版社)
- 杨氏双孔干涉实验的MATLAB计算机模拟
- MATLAB图像数字水印方案论文+源码
- 信号检测与估计-理论与应用 部分习题
- MATLAB 优化问题 26个测试函数
- 用有限差分法求解矩形域上的Poisson方
- matlab源码的IMM交互多目标单目标跟踪
- 信号调制识别论文含matlab程序
评论
共有 条评论