필터 지우기
필터 지우기

Imbed an excel in GUI

조회 수: 1 (최근 30일)
QiQin Zhan
QiQin Zhan 2013년 2월 17일
I want to know how to imbed an excel in GUI.There's a same question in website: http://www.mathworks.cn/support/solutions/en/data/1-20G1MS/index.html?solution=1-20G1MS Then it tell me to go to another website to download a .m file.The website is: http://www.mathworks.com/matlabcentral/fileexchange/6889
But when I download the file only to find some errors when testing.
The error is:
Error using actxcontrol (line 185) Control creation failed. Invalid ProgID 'OWC11.Spreadsheet.13'
Error in Spreadsheet (line 108) Spreadsheet1 = actxcontrol('OWC11.Spreadsheet.13',[0 0 psn(3:4)]);
I'm eager to know how it can have errors and how to correct the code.The code is tested on Matlab2012b.Thanks!

채택된 답변

Image Analyst
Image Analyst 2013년 2월 17일
What version of Excel do you have? Is it OWC11 (Excel 2003)? If not you need to change the version in the code.
  댓글 수: 3
Image Analyst
Image Analyst 2013년 2월 18일
Put in the proper OWC. OWC14 or whatever it is.
QiQin Zhan
QiQin Zhan 2013년 2월 18일
I have test it,but the problem still exists.The OWC seems to be invalid.The problem is how I can know the proper activeX for Excel2013.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by