[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [Babel] Output of multiple variables from octave source
From: |
RC |
Subject: |
[Orgmode] Re: [Babel] Output of multiple variables from octave source |
Date: |
Thu, 30 Dec 2010 21:02:36 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi,
I found the following workaround for what I was trying to do:
#+srcname: test.m
#+begin_src octave
clear variables
x=5.2;
y=3*x;
[sprintf('x=%.1f\n',x),...
sprintf('y=%.1f',y)]
#+end_src
#+results: test.m
| x=5.2 |
| y=15.6 |
RC