Dear Philip,
I was trying the new version of Octave 3.6.0 for Windows, when I met the
following problem.
I tried:
ca{1,1} = "test";
xls = xlsopen('testXLS.xls', 1, 'POI');
xls = oct2xls(ca, xls, "werkblad");
xlsclose(xls);
I got:
POI (& OOXML)*; (* = active interface)
error: deblank: S argument must be a string or cellstring
error: called from:
error:
C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\3.6.0\m\strings\deblank.m at
line 72, column 5
error: evaluating argument list element number 1
error:
C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\io-1.0.16\spsh_chkrange.m
at line 80, column 2
error:
C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\io-1.0.16\oct2xls.m
at line 524, column 39
error:
C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\io-1.0.16\oct2xls.m
at line 163, column 17
error: D:\pm-evt\src\testXLS.m at line 11, column 9
It seems that you have to give the fourth argument in oct2xls, which is
also a workaround:
xls = xlsopen('testXLS.xls', 1, 'POI');
xls = oct2xls(ca, xls, "werkblad", "");
xlsclose(xls);
With kind regards and thank you for your work on Octave,
Martin
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev