view labelTask.m @ 638:17dffd56f2fe feature/d1_staggered

Bug fix and improved comments in D1Staggered wrapper class.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 10 Nov 2017 15:57:21 -0800
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