Home > marsbar > @mardo > event_types.m

event_types

PURPOSE ^

method to get / set event types for design

SYNOPSIS ^

function res = event_types(D, et)

DESCRIPTION ^

 method to get / set event types for design
 FORMAT et = event_types(D)
 to return event types for design

 FORMAT D  = event_types(D, et)
 to set event types for design
 
 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function res = event_types(D, et)
0002 % method to get / set event types for design
0003 % FORMAT et = event_types(D)
0004 % to return event types for design
0005 %
0006 % FORMAT D  = event_types(D, et)
0007 % to set event types for design
0008 %
0009 % $Id$
0010 
0011 SPM = des_struct(D);
0012 if nargin < 2
0013   % get
0014   res = mars_struct('getifthere', SPM, 'event_types');
0015 else
0016   % set
0017   SPM.event_types = et;
0018   res = des_struct(D, SPM);
0019 end

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019