Mercurial > repos > public > sbplib
view timeTask.m @ 924:93a5c59dd2fb feature/utux2D
Add helper function multiblock.SetAllInterfaceOptions.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 02 Dec 2018 17:25:08 -0800 |
parents | 1afd33f719df |
children |
line wrap: on
line source
function done = timeTask(fmt, varargin) fprintf(fmt, varargin{:}); tStart = tic; function done_fun() fprintf(' - done %fs\n', toc(tStart)); end done = @done_fun; end