Hi!
My Petsc 3.4.3-based program outputs a Matlab-file that defines some sparse matrices in CSC format. They run fine in Matlab R2013b, but not in Octave 3.4.3. The error output I'm getting when running the m-file in Octave is:
error: spconvert: argument must be sparse or real matrix with 3 or 4 columns
error: called from:
error: /usr/share/octave/3.4.3/m/sparse/spconvert.m at line 37, column 7
error: /tmp/build/output.m at line 99, column 4
Is the m-file supposed to work in Octave, since it works in Matlab? Is it likely to work if I upgrade to the newest Octave? I'm attaching the m-file in this message.