view prof.m @ 660:184833fe4c0e feature/grids

Add monomial, vandermonde and stencil cretation tools
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 14 Nov 2017 16:46:07 +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