emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: etimecowboy <etimecowboy@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: org-babel matlab example
Date: Sat, 11 Sep 2010 10:18:06 +0100 (BST)	[thread overview]
Message-ID: <20100911.101806.1287597470496846955.etimecowboy@gmail.com> (raw)

Hi everybody,

I am learning to use org-babel to evaluate in-line Matlab code block, but I cannot make it works when I press the "C-c C-c", nor "C-c C-v e". The export of code works, but the results was not there. My in-line code is like this:

#+begin_src matlab :export results
n = [1:10];
x = 5*n+4;
x
#+end_src

Is there someone can provide me a working example? Thanks a lot.


-----------------------------

etimecowboy@gmail.com

      _.,----,._
    .:'        `:.
  .'              `.
 .'                `.
 :                  :
 `    .'`':'`'`/    '
  `.   \  |   /   ,'
    \   \ |  /   /
     `\_..,,.._/'
      {`'-,_`'-}
      {`'-,_`'-}
      {`'-,_`'-}
       `YXXXXY'
         ~^^~

             reply	other threads:[~2010-09-11  9:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11  9:18 etimecowboy [this message]
2010-09-11 15:29 ` org-babel matlab example Dan Davison
2010-09-11 16:23   ` Dan Davison
2010-09-12  7:45     ` etimecowboy
2010-09-12 14:58       ` Darlan Cavalcante Moreira
2010-09-14 15:40         ` Dan Davison
2010-09-14 18:19           ` Achim Gratz
2010-09-14 20:14             ` Achim Gratz
2010-09-14 18:23           ` Darlan Cavalcante Moreira
2010-09-16  3:35             ` etimecowboy
2010-09-16  6:32               ` Dan Davison

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=20100911.101806.1287597470496846955.etimecowboy@gmail.com \
    --to=etimecowboy@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).