classdef timer < handle
  properties
    TimerFcn
    StartDelay = 0
    Period = 1
    ExecutionMode = 'singleShot'
    UserData
    Name = 'timer'
    Tag = ''
    Running = 'off'
  end
  methods
    function obj = timer(varargin)
       if nargin > 0
          % Handle property/value pairs if needed
       end
    end
    function start(obj)
       obj.Running = 'on';
    end
    function stop(obj)
       obj.Running = 'off';
    end
    function delete(obj)
       obj.stop();
    end
  end
end
