view prof.m @ 879:9be370486d36

Fix typo in boundary group definition in multiblock.domain.Circle
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 02 Nov 2018 11:13:51 +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