create bm_fileio object [USAGE] [obj] = bm_fileio_new; [IN] none [OUT] obj : bm_fileio object Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [obj] = bm_fileio_new() 0002 % create bm_fileio object 0003 % [USAGE] 0004 % [obj] = bm_fileio_new; 0005 % [IN] 0006 % none 0007 % [OUT] 0008 % obj : bm_fileio object 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 obj = struct; 0014 0015 % set class type 0016 obj.class_type = 'bm_fileio'; 0017 0018 % 0019 % --- Member initialize 0020 % 0021 obj.bm_list = bm_list_new; 0022 0023 % 0024 % --- After check 0025 % 0026 if nargout ~= 1 0027 error('function caller should receive obj.'); 0028 end