Mercurial > repos > public > sbplib
view prof.m @ 419:1adfc42bbc1a
Merged in feature/diags (pull request #7)
Add full matrix equivalent of spdiags
author | Jonatan Werpers <jonatan.werpers@it.uu.se> |
---|---|
date | Tue, 07 Feb 2017 14:37:55 +0000 |
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