Is there a way to get multiple variables output, other than something like: #+srcname: test.m
#+begin_src octave clear variables x=5.1; y=3*x; sprintf('x=%.1f,\n y=%.1f',x,y) #+end_src
#+results: test.m : x=5.1, y=15.3
which starts to get unwieldy for a larger number of variables.