%% Set tsdata.event Property
% Create a tsdata.event object and set the time units to 'hours'.

tse = tsdata.event('MyEvent',3);
set(tse,'Units','hours');
tseunits = tse.Units

% Copyright 2012 The MathWorks, Inc.