view prof.m @ 964:99c2ef883dc6 feature/poroelastic

Fix warning in getBoundaryWrapper methods
author Martin Almquist <malmquist@stanford.edu>
date Wed, 19 Dec 2018 07:09:24 +0100
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