emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem with ob-octave (matlab)
@ 2016-03-31 17:44 Uwe Brauer
  2016-03-31 17:58 ` John Kitchin
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Brauer @ 2016-03-31 17:44 UTC (permalink / raw)
  To: emacs-orgmode

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 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-01 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 17:44 problem with ob-octave (matlab) Uwe Brauer
2016-03-31 17:58 ` John Kitchin
2016-04-01  8:30   ` Uwe Brauer
2016-04-01 11:09     ` Eric S Fraga
2016-04-01 12:29       ` Uwe Brauer
2016-04-01 15:49         ` Eric S Fraga
2016-04-01 16:18           ` Eric S Fraga
2016-04-01 17:06           ` Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).