[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] workflow, matlab+latex in org file

From: John Kitchin
Subject: Re: [O] workflow, matlab+latex in org file
Date: Sat, 11 Mar 2017 11:53:36 -0500

You can put them into an elisp src block to try it out. They have to go in an init file to be permanent. I just made a symlink to the matlab executable on my path.

The ipython functions are defined in ob-ipython, https://github.com/gregsexton/ob-ipython I think.


Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

On Sat, Mar 11, 2017 at 11:50 AM, Uwe Brauer <address@hidden> wrote:
>>> "John" == John Kitchin <address@hidden> writes:

   > The kernel provides a "session" so matlab stays alive and doesn't have to
   > restart on every block.

   > The kernel might require python3.

Although I think I installed the kernel, I am not sure about the code
you sent me, namely

(defalias 'org-babel-execute:matlab 'org-babel-execute:ipython)
(defalias 'org-babel-prep-session:matlab 'org-babel-prep-session:ipython)
(defalias 'org-babel-matlab-initiate-session 'org-babel-ipython-initiate-session)

These ipython functions where are they supposed to be defined?

BTW where do you  tell the kernel about the matlab executables?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]