octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave-3.7.2+/Windows [VS2010] available


From: Daniel J Sebald
Subject: Re: Octave-3.7.2+/Windows [VS2010] available
Date: Sat, 23 Feb 2013 03:30:22 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 02/23/2013 01:43 AM, vinukn wrote:
I got some error message while exporting a variable to xlsx file

Error Log:
octave:6>  h=hilb(3);
octave:7>  xlswrite('E:\et.xlsx',h,'h');
Creating file E:\et.xlsx
error: feval: function 'com_set' not found
error: assignment failed, or no method for 'octave_com_object = scalar'
error: called from:
error:
G:\Software\Octave-3.7.2+\share\octave\packages\io-1.2.0\private\__COM_spsh_open__.m
at line 49, column 37
error:   G:\Software\Octave-3.7.2+\share\octave\packages\io-1.2.0\xlsopen.m
at line 242, column 32
error:   G:\Software\Octave-3.7.2+\share\octave\packages\io-1.2.0\xlswrite.m
at line 170, column 9

I would file a bug report, but can't determine if this is in the IO package or elsewhere. I've searched the __COM_spsh_open__.m, xlsopen.m, and xlswrite.m files and see no "feval" anywhere. There is nothing by the name com_set in the main IO package files or the private subdirectory.

Philip, could you please take a look at the file

http://sourceforge.net/p/octave/code/11662/tree/trunk/octave-forge/main/io/inst/private/__COM_spsh_open__.m#l19

? Note the comment calls this __COM_xlsopen.m__ (why are the underscores after the 'm' and not the 'open'?)

## __COM_xlsopen.m__ - Internal function for opening an xls(x) file using COM/ActiveX

but it is actually __COM_spsh_open__.m.

Where is the "actxserver" routine that gives a portal to ActiveX?

    app = actxserver ("Excel.Application");

Perhaps that is where there is an feval failing with com_set.

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]