return continous MEG/EEG-MAT filename. [USAGE] [filename] = vb_continuous_file_get_filename(obj); [IN] obj : continuous_file object. [OUT] filename : continuous filename. Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [filename] = vb_continuous_file_get_filename(obj) 0002 % return continous MEG/EEG-MAT filename. 0003 % [USAGE] 0004 % [filename] = vb_continuous_file_get_filename(obj); 0005 % [IN] 0006 % obj : continuous_file object. 0007 % [OUT] 0008 % filename : continuous filename. 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 % 0014 % --- Previous check 0015 % 0016 if ~exist('obj', 'var') 0017 error('obj is a required parameter.'); 0018 end 0019 0020 % 0021 % --- Main Procedure 0022 % 0023 filename = obj.filename;