Mercurial > repos > public > sbplib
view printExpr.m @ 148:1f5f988e9682
Added functions for printing and timing tasks in a script.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 05 Apr 2016 11:26:04 +0200 |
parents | 54d3ab296ba0 |
children |
line wrap: on
line source
function printExpr(expr) result = evalin('caller',expr); fprintf('%s => %s\n', expr, toString(result)); end