Skip to content

Octave compatibility

dgleich edited this page Jan 23, 2011 · 1 revision

Matlab BGL is compatbilit with Octave!

But...

You'll need to hack the compile script to detect octave. You'll need to remove -O from the compiler flags and add -DMX_API_VER=0x70300000 -DMWINDEX_MAX=2147483647 You'll need to compile and link against libmbgl-linux-64 and not libmbgl-linux-64-large on 64-bit platforms. After everything compiles, you'll need to move everything in the private directory to the main matlab-bgl directory.

Further:

The classes @inplace @ipdouble and @ipint32 don't work in Octave.

Check the 4.0-octave branch.

Clone this wiki locally