view timeTask.m @ 474:c91464ef1dd9 feature/sublassable_cellarray

Implement tests for horzcat and vertcat. Fix bugs found
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 02 Aug 2017 09:38:12 +0200
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