From mboxrd@z Thu Jan 1 00:00:00 1970 From: etimecowboy Subject: org-babel matlab example Date: Sat, 11 Sep 2010 10:18:06 +0100 (BST) Message-ID: <20100911.101806.1287597470496846955.etimecowboy@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35485 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuME1-0007Py-7U for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:18:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuMDw-0002pP-Fu for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:18:20 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41321) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuMDw-0002pA-Bo for emacs-orgmode@gnu.org; Sat, 11 Sep 2010 05:18:16 -0400 Received: by wyb36 with SMTP id 36so4535871wyb.0 for ; Sat, 11 Sep 2010 02:18:15 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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' ~^^~