Home > vbmeg > external > yokogawa_lib > getYkgwHdrEvent.m

getYkgwHdrEvent

PURPOSE ^

Get header of the trigger event

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Get header of the trigger event
 [ Yokogawa MEG Reader toolbox for MATLAB ]

 brief:
   This function retrieves information about trigger event in the specified file.

 usage:
   event = getYkgwHdrEvent(filepath)

 arguments:
   filepath    : file path

 return values:
   event       : structure array of trigger event
    .sample_no : double, sample number of current event (0 origin)
    .code      : double, event code (1 origin)
    .name      : string, event name

 rivision history
   2 : 2011.04.27 : support only EvokedRaw or EvokedAve 
   1 : 2011.02.14 : 1st argument is modified from file ID to file path.
   0 : 2010.06.24 : first release
 
 Copyright (C) 2010-2011 Yokogawa Electric Corporation, All Rights Reserved.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Get header of the trigger event
0002 % [ Yokogawa MEG Reader toolbox for MATLAB ]
0003 %
0004 % brief:
0005 %   This function retrieves information about trigger event in the specified file.
0006 %
0007 % usage:
0008 %   event = getYkgwHdrEvent(filepath)
0009 %
0010 % arguments:
0011 %   filepath    : file path
0012 %
0013 % return values:
0014 %   event       : structure array of trigger event
0015 %    .sample_no : double, sample number of current event (0 origin)
0016 %    .code      : double, event code (1 origin)
0017 %    .name      : string, event name
0018 %
0019 % rivision history
0020 %   2 : 2011.04.27 : support only EvokedRaw or EvokedAve
0021 %   1 : 2011.02.14 : 1st argument is modified from file ID to file path.
0022 %   0 : 2010.06.24 : first release
0023 %
0024 % Copyright (C) 2010-2011 Yokogawa Electric Corporation, All Rights Reserved.

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