diff show.m @ 1197:433c89bf19e0 feature/rv

Merge with default
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 07 Aug 2019 15:23:42 +0200
parents 360280a55ae8
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/show.m	Wed Aug 07 15:23:42 2019 +0200
@@ -0,0 +1,5 @@
+function show(str)
+    assertType(str, {'string', 'char'})
+    val = evalin('caller',str);
+    fprintf('%s => %s\n\n', str, toString(val));
+end
\ No newline at end of file