view labelTask.m @ 203:764438b52541 feature/grids

blockmatrix: Added functions to test for block matrcies and divisions.
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 15 Jun 2016 14:29:56 +0200
parents 1f5f988e9682
children
line wrap: on
line source

function o = labelTask(in)

    switch class(in)
        case 'char'
            fprintf(in);
            o = tic();
        case 'uint64'
            o = toc(in);
            fprintf(' - done %fs\n', o);
        otherwise
            error('Unknow input type: %s', class(in))
    end