Mercurial > repos > public > sbplib
view prof.m @ 483:025f084187d1 feature/sublassable_cellarray
Add some documentation and minor clean up
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 02 Aug 2017 14:49:56 +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