view prof.m @ 810:77451445955f feature/poroelastic

Bugfix in grid/evalOn
author Martin Almquist <malmquist@stanford.edu>
date Fri, 27 Jul 2018 10:23:49 -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