Mercurial > repos > public > sbplib
view prof.m @ 244:5679dc7f6fdc feature/beams
Added function to save the size of a figure window as default.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 31 Aug 2016 10:44:53 +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