view prof.m @ 855:5751262b323b feature/poroelastic

Add 1D quadrature matrices as property in Elastic2dVariable.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 16 Sep 2018 18:00:14 -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