emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org, John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: problem with ob-octave (matlab)
Date: Fri, 1 Apr 2016 16:49:15 +0100	[thread overview]
Message-ID: <87d1q9cosk.fsf@ucl.ac.uk> (raw)
In-Reply-To: 874mblh5r3.fsf@mat.ucm.es

I don't have MATLAB on the system I'm on at the moment but trying your
(slightly modified) example with octave instead works:

#+begin_src org
  ,#+BEGIN_SRC octave :results output
    pkg load symbolic
    syms a b
    A=[a,b;b,a]
    eig(A) 
  ,#+END_SRC

  ,#+results:
  ,#+begin_example
  OctSymPy v2.2.4: this is free software without warranty, see source.
  Initializing communication with SymPy using a popen2() pipe.
  Some output from the Python subprocess (pid 28058) might appear next.

  OctSymPy: Communication established.  SymPy v0.7.6.1.
  A = (sym 2×2 matrix)

    ⎡a  b⎤
    ⎢    ⎥
    ⎣b  a⎦

  ans = (sym 2×1 matrix)

    ⎡       ____⎤
    ⎢      ╱  2 ⎥
    ⎢a - ╲╱  b  ⎥
    ⎢           ⎥
    ⎢       ____⎥
    ⎢      ╱  2 ⎥
    ⎣a + ╲╱  b  ⎦


  ,#+end_example

#+end_src 

I don't know if this helps you at all and/or whether the issue is with
MATLAB...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83

  reply	other threads:[~2016-04-01 15:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-04-01 16:18           ` Eric S Fraga
2016-04-01 17:06           ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1q9cosk.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).