set bm_list to bm_file object [USAGE] [obj] = bm_fileio_set_bm_list(<obj>, <bm_list>); [IN] obj : bm_fileio object [OUT] bm_list : bm_list object Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [obj] = bm_fileio_set_bm_list(obj, bm_list) 0002 % set bm_list to bm_file object 0003 % [USAGE] 0004 % [obj] = bm_fileio_set_bm_list(<obj>, <bm_list>); 0005 % [IN] 0006 % obj : bm_fileio object 0007 % [OUT] 0008 % bm_list : bm_list object 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'), error('obj is a required parameter.'); end 0017 if ~exist('bm_list', 'var'), error('bm_list is a required parameter.'); end 0018 0019 % 0020 % --- Main Procedure 0021 % 0022 obj.bm_list = bm_list; 0023 0024 % 0025 % --- After check 0026 % 0027 if nargout ~= 1 0028 error('function caller should receive obj.'); 0029 end 0030