view labelTask.m @ 460:e0caae9ef6ed feature/grids

Add SBPinTime for linear DAE formulations (BUGS!)
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Jun 2017 16:50:13 +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