fiff_start_block(fid,kind) Writes a FIFF_BLOCK_START tag fid An open fif file descriptor kind The block kind to start
0001 function fiff_start_block(fid,kind) 0002 % 0003 % fiff_start_block(fid,kind) 0004 % 0005 % Writes a FIFF_BLOCK_START tag 0006 % 0007 % fid An open fif file descriptor 0008 % kind The block kind to start 0009 % 0010 0011 % 0012 % 0013 % Author : Matti Hamalainen, MGH Martinos Center 0014 % License : BSD 3-clause 0015 % 0016 % Revision 1.3 2006/04/23 15:29:40 msh 0017 % Added MGH to the copyright 0018 % 0019 % Revision 1.2 2006/04/10 23:26:54 msh 0020 % Added fiff reading routines 0021 % 0022 % Revision 1.1 2005/12/05 16:01:04 msh 0023 % Added an initial set of fiff writing routines. 0024 % 0025 % 0026 0027 me='MNE:fiff_start_block'; 0028 0029 if nargin ~= 2 0030 error(me,'Incorrect number of arguments'); 0031 end 0032 0033 FIFF_BLOCK_START=104; 0034 fiff_write_int(fid,FIFF_BLOCK_START,kind); 0035 0036 return;