Error with 64 bit Matlab version: 7.10.0 (R2010a)

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

답변 (1개)

Aurelien Queffurust
Aurelien Queffurust 2011년 9월 9일

2 개 추천

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

카테고리

도움말 센터File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

질문:

2011년 9월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by