Mercurial > repos > public > sbplib
view timeTask.m @ 380:280ae4dbf93b feature/beams
CdiffImplicit: Fixed a bug. Switched to LU.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 12 Dec 2016 11:35:23 +0100 |
parents | 5cb99f56f55e |
children | 1afd33f719df |
line wrap: on
line source
function done = timeTask(taskName) fprintf('%s', taskName); tStart = tic; function done_fun() fprintf(' - done %fs\n', toc(tStart)); end done = @done_fun; end