% statuscb - Returns status message timer callback function handle
%
% statuscb :: string => (timer, timer_event => void).
%
% Eg,
%   set(Timer,'StartFcn',statuscb('starting'));
%   set(Timer,'StopFcn',statuscb('stopping'));

function f=statuscb(msg)
	f=@(t,e)fprintf('%s: %s\n',mat2str(e.Data.time),msg);
