view labelTask.m @ 558:54c775c3348a feature/grids/laplace_refactor

Clean up use of the sign in boundary and interface routines
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 29 Aug 2017 12:48:30 +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