view prof.m @ 945:af397cc35239 feature/utux2D

Update abstract scheme class
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 05 Dec 2018 10:55:50 +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