view sched/sched_after.m @ 53:3ba80c9914ff

Minor doc fix, added .class to .hgignore
author samer
date Mon, 02 Feb 2015 10:47:55 +0000
parents f7fb679637ff
children
line wrap: on
line source
% sched_rel- one shot, relative scheduler using Matlab timer
%
% sched_rel::
%    (void => A1,...,AN) ~'action with N return values',
%    nonneg    ~'delay in seconds',
%    M:natural ~'number of output arguments to collect'
% => (void => A1,...,AM).
%
% After use, timer is marked for deletion but you must call
% timer_gc to actually delete it.
function x=sched_rel(f,dt,varargin), x=sched_abs(f,nows+dt,varargin{:}); end