view labelTask.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 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