I am trying to use XLSWrite with the Windows version of Octave. I have the
Java and Windows packages loaded.  I started this discussion on the Octave
Help list but it was recommended that I post to the OctDev list instead.

Everything seems to initiate correctly but I get a COM error

Excel/COM interface requested...  Excel (COM) OK.
Creating file Job006-10345-vp3.xls
error: com_invoke: property/method invocation on the COM object failed with
error `0x80020009'
error: called from:
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\io-1.0.11\oct2xls.m
at line 290, column 3
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\io-1.0.11\oct2xls.m
at line 86, column 17
error:   C:/HelioDotSkip/Scripts\helio2.m at line 524, column 10
octave-3.2.4.exe:2>

Here is the sequence of calls I am making to output to the XLS file.

xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str1,xlh,SampleID,'A1');
xlh=xlsclose(xlh);
xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str2,xlh,SampleID,'A20');
xlh=xlsclose(xlh);
xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str3,xlh,SampleID,'E1');
xlh=xlsclose(xlh);
xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str3,xlh,SampleID,'E20');
xlh=xlsclose(xlh);
xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str4,xlh,SampleID,'B2');
xlh=xlsclose(xlh);
xlh=xlsopen(Tout,'1','COM');
[xlh rs]=oct2xls(str4,xlh,SampleID,'B21');
xlh=xlsclose(xlh);

How can I get past this error?


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to