Home > vbmeg > functions > gui > preAnalysis > brainamp_eeg > pa_brainamp_eeg_create.m

pa_brainamp_eeg_create

PURPOSE ^

This function creates yokogawa meg parameter gui.

SYNOPSIS ^

function [fig] = pa_brainamp_eeg_create(proj_root)

DESCRIPTION ^

 This function creates yokogawa meg parameter gui.
 [USAGE]
    fig = pa_brainamp_eeg_create([proj_root]);
 [IN]
    proj_root : project root directory.
 [OUT]
    fig : figure handle of yokogawa meg gui.


 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [fig] = pa_brainamp_eeg_create(proj_root)
0002 % This function creates yokogawa meg parameter gui.
0003 % [USAGE]
0004 %    fig = pa_brainamp_eeg_create([proj_root]);
0005 % [IN]
0006 %    proj_root : project root directory.
0007 % [OUT]
0008 %    fig : figure handle of yokogawa meg gui.
0009 %
0010 %
0011 % Copyright (C) 2011, ATR All Rights Reserved.
0012 % License : New BSD License(see VBMEG_LICENSE.txt)
0013 
0014 %
0015 % --- Previous check
0016 %
0017 if ~exist('proj_root', 'var')
0018     proj_root = [];
0019 end
0020 
0021 %
0022 % --- Main Procedure
0023 %
0024 fig = openfig('pa_brainamp_eeg.fig');
0025 
0026 data = struct;
0027 data.H = guihandles(fig);
0028 data.H.figure = fig;
0029 data.brainamp_eeg_parm = vb_set_meg_parm_brainamp;
0030 data.output_filename   = '';
0031 data.adv_fig = -1; % figure handle of brainamp_eeg advanced parameter gui.
0032 
0033 % save data to figure
0034 guidata(fig, data);
0035 
0036 set(data.H.project_root_edit, 'String', proj_root);
0037 pa_brainamp_eeg_set_parm(fig, data.brainamp_eeg_parm);

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005