view labelTask.m @ 348:145b3b8c1e4e martin-thesis-plots

Played around with Ti show and plot settings to create pretty pics for thesis.
author Martin Almquist <martin.almquist@it.uu.se>
date Sat, 03 Dec 2016 23:00:44 +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