view prof.m @ 507:1341e8580d64 feature/quantumTriangles

Start over with the non-symmetric shrodnger to ceep track of changes.
author Ylva Rydin <ylva.rydin@telia.com>
date Mon, 29 May 2017 14:07:55 +0200
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