Mercurial > repos > public > sbplib
view timeTask.m @ 366:7ada2db63268 feature/hypsyst
Tried to speed up the matrix set-up a little
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Tue, 13 Dec 2016 09:28:33 +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