I suggest you to install a newer version of Octave, maybe this isn't related to your problem, but we were having problems with the 3.2 version in an C++ program using Octave embedded.
If you need help installing the new version, we found this resource useful: