view labelTask.m @ 1030:78c75c95b7dd feature/advectionRV

Rename Rungekutta-Rv classes according to naming convention
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 11 Jan 2019 15:52:48 +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