Notes for calling Octave functions through python

Only tested for Ubuntu (10.04)

Install Octave (with source) and all Add-On packages

  • sudo aptitude install octave3.2 octave3.2-headers octave3.2-dbg

  • sudo aptitude install $(aptitude search ?description\(octave-forge\) | awk '{print $2}')

Download/Install pytave

  • bzr branch lp:pytave

  • sudo autoreconf --install

  • sudo ./configure --prefix=/opt/pytave

  • sudo make

  • sudo make install

  • sudo python setup.py install

Simple Python Code to Run Octave Functions

From inside ipython type:

import pytave
pytave.feval(1, "cos", 0)

Wiki: JoeRomano/octave (last edited 2011-08-12 14:19:39 by JoeRomano)