view prof.m @ 662:b189bc409cdb feature/poroelastic

Add helper function for kronecker delta.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 14 Dec 2017 13:53:38 -0800
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