view prof.m @ 838:bd43256f0c41 feature/poroelastic

Added tag Heimisson2018 for changeset 08f3ffe63f48
author Martin Almquist <malmquist@stanford.edu>
date Fri, 14 Sep 2018 10:41:00 -0700
parents cb65c81d6c87
children
line wrap: on
line source

function prof(f)
    profile on
    try
        f();
        profile viewer
    catch e
        fprintf(2, '\n%s', getReport(e));
        profile clear
    end
end