Error with 64 bit Matlab version: 7.10.0 (R2010a)
Show older comments
Hello,
I have an Programm, which compiled successfully on a 32 Bit Matlab, but it doesn´t work on a 64 Bit Matlab. This Programm should calculate any Informations (data) and should write the result in a Excel file. My Operating system is Windows XP Prof. x64 Edition (2003). I think, that the Problem is by using this command: Spreadsheet1 = actxcontrol('OWC11.Spreadsheet.11',[0 0 psn(3:4)]);
I believe, the 64 Bit OS has Problems with OWC11. Can you please help me?
thanks,
best regards, atas
Answers (1)
Aurelien Queffurust
on 9 Sep 2011
Why not to use the test described in this technical solution: How can I use a table in my MATLAB GUI?
which says : The Microsoft Office Spreadsheet ActiveX control (Microsoft Office Spreadsheet 11.0) is provided by Microsoft and usually ships with Microsoft Office. For more details on obtaining or using this specific ActiveX Control, contact Microsoft. If you are unsure as to whether you have access to this ActiveX control, issue the following command at the MATLAB command prompt:
C = actxcontrollist;
if any( strcmp(C(:,2),'OWC11.Spreadsheet.11') )
disp('ActiveX Control Present')
else
disp('ActiveX Control Absent')
end
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!