view labelTask.m @ 254:9c97eb0d61bf operator_remake

Cleaned up 12th order minimal file.
author Martin Almquist <martin.almquist@it.uu.se>
date Wed, 07 Sep 2016 14:49:21 +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