sometimes setting :results to raw or code can help. I occasionally have trouble when the results get interpreted as cons cells, and maybe some other things too (in other languages but i think it a general problem.)
Uwe Brauer writes: > Hello > > I can successfully execute > > > #+BEGIN_SRC matlab > A=[3 4; 5 6] > b=[5;6] > A\b > #+END_SRC > > #+RESULTS: > | -3 | > | 3.5 | > > However > #+BEGIN_SRC matlab > syms a b > A=[a,b;b,a] > eig(A) > #+END_SRC > > > Does not work > > I obtain > > executing Matlab code block... > Wrote /tmp/babel-2948rpV/ob-input-2948ACJ > Error reading results: (beginning-of-buffer) > Code block produced no output. > > > However the code can be executed in matlab giving > > > ans = > > a + b > a - b > > > Any comments? > > Thanks > > Uwe Brauer -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu