資源簡介
能顯示波形和頻譜,自己做的,供學習交流用

代碼片段和文件信息
function?varargout?=?hdm_player(varargin)
%?HDM_Player?MATLAB?code?for?hdm_player.fig
%??????HDM_Player?by?itself?creates?a?new?HDM_Player?or?raises?the?existing
%??????singleton*.
%
%??????H?=?HDM_Player?returns?the?handle?to?a?new?HDM_Player?or?the?handle?to
%??????the?existing?singleton*.
%
%??????HDM_Player(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?HDM_Player.M?with?the?given?input?arguments.
%
%??????HDM_Player(‘Property‘‘Value‘...)?creates?a?new?HDM_Player?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?hdm_player_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?hdm_player_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?hdm_player
%?Last?Modified?by?GUIDE?v2.5?07-Mar-2012?13:47:06
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@hdm_player_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@hdm_player_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?hdm_player?is?made?visible.
function?hdm_player_OpeningFcn(hobject?eventdata?handles?varargin)
global?T_obj?which_channel?T_start?x;
which_channel?=?1;
T_start?=?0;?
x?=?0;
%?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?hdm_player?(see?VARARGIN)
T_obj=timer(‘TimerFcn‘{@plotupdate?handles}?‘Period‘?0.1?‘ExecutionMode‘?‘FixedRate‘);
%?Choose?default?command?line?output?for?hdm_player
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?hdm_player?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?hdm_player_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}?=?h
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????3929710??2012-03-05?18:48??hdm_pla
?????文件???????9804??2012-03-07?19:36??hdm_pla
?????文件??????10533??2012-03-07?22:43??hdm_pla
?????目錄??????????0??2012-03-09?16:40??hdm_pla
-----------?---------??----------?-----??----
??????????????3950047????????????????????4
- 上一篇:SIFT特征匹配 MATLAB 實現
- 下一篇:數字圖像處理常用測試圖片part6
評論
共有 條評論