view labelTask.m @ 734:eebe24a636c7 feature/poroelastic

Make Elastic2dVariable.size account for components.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 25 Apr 2018 14:46:24 -0700
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