view prof.m @ 908:ecfccf236af0 feature/utux2D

Add helper function nonConformingInterfaceOptions that creates an InterfaceOptions object that specifies which interpolation operators are used where.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 23 Nov 2018 20:14:16 -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