view prof.m @ 904:14b093a344eb feature/utux2D

Outline new interface method in LaplaceCurvilinear
author Martin Almquist <malmquist@stanford.edu>
date Thu, 22 Nov 2018 22:03:06 -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