Mercurial > hg > ishara
view sched/statuscb.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 7357e1dc2ad6 |
children |
line wrap: on
line source
% 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);