function varargout = exportresults(varargin)
% EXPORTRESULTS M-file for exportresults.fig
% EXPORTRESULTS, by itself, creates a new EXPORTRESULTS or raises the existing
% singleton*.
%
% H = EXPORTRESULTS returns the handle to a new EXPORTRESULTS or the handle to
% the existing singleton*.
%
% EXPORTRESULTS('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in EXPORTRESULTS.M with the given input arguments.
%
% EXPORTRESULTS('Property','Value',...) creates a new EXPORTRESULTS or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before exportresults_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to exportresults_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 exportresults
% Last Modified by GUIDE v2.5 06-Jul-2003 12:19:41
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @exportresults_OpeningFcn, ...
'gui_OutputFcn', @exportresults_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 exportresults is made visible.
function exportresults_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 exportresults (see VARARGIN)
% Choose default command line output for exportresults
handles.output = hObject;
set(hObject,'Color','white');
% Set the toolbar for the figure
pronytoolbar(hObject,'on');
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes exportresults wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = exportresults_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 push_exportwspace.
function push_exportwspace_Callback(hObject, eventdata, handles)
% hObject handle to push_exportwspace (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
if(evalin('base','exist(''PronyData'',''var'')')==0)
msgbox('Please Prepare Prony Analysis Data to Export the Results','Prepare Prony Analysis GUI Data is Empty','replace')
whitebg('white');
else
IGuiData=evalin('base','PronyData');
if (get(handles.chkbx_all1,'Value') == get(handles.chkbx_all1,'Max'))
assignin('base',get(handles.edit_all1,'String'),IGuiData)
end
if (get(handles.chkbx_raw,'Value') == get(handles.chkbx_raw,'Max'))
name=get(handles.edit_raw,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.x_val;
name.y=IGuiData.y_val;
assignin('base',get(handles.edit_raw,'String'),name);
end
if (get(handles.chkbx_range,'Value') == get(handles.chkbx_range,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_range,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.window_x;
name.y=IGuiData.window_y;
assignin('base',get(handles.edit_range,'String'),name);
end
if (get(handles.chkbx_decimated,'Value') == get(handles.chkbx_decimated,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_decimated,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.deci_x;
name.y=IGuiData.deci_y;
assignin('base',get(handles.edit_decimated,'String'),name);
end
if (get(handles.chkbx_preprocess,'Value') == get(handles.chkbx_preprocess,'Max'))
% then checkbox is checked-take approriate action
name=get(handles.edit_preprocess,'String');
name= struct('x',[],'y',[]);
name.x=IGuiData.dp_x;
name.y=IGuiData.dp_y;
assignin('base',get(handles.edit_preprocess,'String'),name);
end
end % outermost condition which checks if the data exists or not
% Export the data related to Perform Prony Analysis GUI
%----------------------------------------------------------------------
%----------------------------------------------------------------------
if(evalin('base','exist(''IIGuiData'',''var'')')==0)
msgbox('Please Perform Prony Analysis to Export the Results','Perform Prony Analysis GUI Data is Empty','replace')
whitebg('white');
else
IIGuiData=evalin('base','IIGuiData');
if (get(handles.chkbx_all2,'Value') == get(handles.chkbx_all2,'Max'))
assignin('base',get(handles.edit_preprocess,'String'),IIGuiData);
end
if (get(handles.chkbx_pronyfit,'Value') == get(handles.chkbx_pronyfit,'Max'))
name=get(handles.edit_pronyfit,'String');
name= struct('x',[],'y',[],'prony_y',[],'f',[],'fft_y',[],'fft_prony_y',[]);
name.x=IIGuiData.test_time;
name.y=IIGuiData.test_data;
name.prony_y=IIGuiData.iapp;
name.f=IIGuiData.f1;
name.fft_y=IIGuiData.fft_data1;
name.fft_prony_y=IIGuiData.fft_iapp1;
assignin('base',get(handles.edit_pronyfit,'String'),name);
end
% Export the results associated with the second plot of Prony Analysis GUI
if (get(handles.chkbx_pronymodes,'Value') == get(handles.chkbx_pronymodes,'Max'))
name=get(handles.edit_pronymodes,'String');
name=struct('x',[],'y',[],'prony_y',[],'f',[],'fft_y',[],'fft_prony_y',[]);
name.x=IIGuiData.test_time;
name.y=IIGuiData.test_data;
name.prony_y=IIGuiData.ai;
name.f=IIGuiData.f2;
name.fft_y=IIGuiData.fft_data2;
name.fft_prony_y=IIGuiData.fft_iapp2;
assignin('base',get(handles.edit_pronymodes,'String'),name);
end
% Export the results associated with the Pole Diagram of Prony Analysis GUI
if (get(handles.chkbx_poles,'Value') == get(handles.chkbx_poles,'Max'))
name=get(handles.edit_poles,'String');
name=struct('zeros',[],'poles',[]);
name.poles=IIGuiData.idennz;
name.zeros=0;
assignin('base',get(handles.edit_poles,'String'),name);
end
% Export the results associated with the Pole-Zero Diagram of Prony Analysis GUI
if (get(handles.chkbx_polezero,'Value') == get(handles.chkbx_polezero,'Max'))
name=get(handles.edit_polezero,'String');
name=struct('zeros',[],'poles',[]);
name.poles=IIGuiData.idennz;
name.zeros=IIGuiData.inummz;
as
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
Prony Toolbox Download.zip (59个子文件)
Prony Toolbox Download
pronytoolhelp.html 3KB
comparesessions.fig 51KB
mmv2struct.m 2KB
prepare_comparelist.m 2KB
pronytoolbar.m 1KB
export_file.mat 472B
applyprony.m 1KB
perform_resultslist.m 667B
design.html 12KB
exportresults.m 69KB
pronyanalysistool.fig 80KB
pronyanalysistool.m 26KB
pronytool.fig 11KB
demos.html 3KB
gui.html 12KB
remove_mean.m 2KB
imageicons.mat 230KB
performprony.fig 103KB
references.html 6KB
ecelogo.jpg 22KB
PCRdata
Cmp files
Ar_I_saddle.cmp 209KB
Ar_I_MO14.cmp 209KB
Ar_I_MO12.cmp 209KB
Ar_I_MO18.cmp 209KB
Ar_I_MO22.cmp 209KB
60Ar
i100.DAT 58KB
v100.DAT 61KB
i400.DAT 58KB
v1500.DAT 62KB
i1000.DAT 58KB
v400.DAT 61KB
60Ar_v400.mat 39KB
60Ar_i700.mat 39KB
60Ar_i100.mat 39KB
i700.DAT 58KB
i1500.DAT 58KB
60Ar_v100.mat 39KB
60Ar_i1500.mat 39KB
v1000.DAT 63KB
60Ar_v1000.mat 39KB
save_datafile.m 181B
60Ar_v700.mat 39KB
v700.DAT 63KB
60Ar_i400.mat 39KB
60Ar_v1500.mat 39KB
60Ar_i1000.mat 39KB
Demos
bbnoise_demo.mat 3KB
pure_demo.mat 3KB
puretone_demo.mat 3KB
create_demo.m 318B
windowing_data.m 546B
prepare_savedata.m 2KB
preparecomparedata.m 980B
pronytool.m 4KB
exportresults.fig 103KB
about.html 3KB
fft_analysis.m 637B
performprony.m 45KB
comparesessions.m 24KB
共 59 条
- 1
流动的风与雪
- 粉丝: 419
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0