Diff of /inst/tars.m [45fccd] .. [18c397]  Maximize  Restore

  Switch to side-by-side view

--- a/inst/tars.m
+++ b/inst/tars.m
@@ -26,3 +26,10 @@
   s = cell2struct (varargin, deblank (cellstr (argn)), 2);
 
 endfunction
+
+%!shared s, x, y, z
+%! x = 2;
+%! y = 3;
+%! z = "foo";
+%! s = tars (x, y, z);
+%!assert ({s.x s.y s.z}, {x y z});

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks