Mercurial > repos > public > sbplib
view prof.m @ 583:75f9b7a80f28 feature/grids
Allow more than one type in type assertion
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 07 Sep 2017 14:08:31 +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