MATLAB7 interface with excel
조회 수: 2 (최근 30일)
이전 댓글 표시
I have MATLAB 7 (R14) and Excel 2010 on my machine. Is there a way to know which version of Excel is installed on a particular machine from within MATLAB R14?
댓글 수: 0
답변 (1개)
Titus Edelhofer
2014년 6월 3일
Hi,
you can use the ActiveX-Interface to query Excel:
x = actxserver('Excel.Application');
v = get(x, 'version')
delete(x);
Result:
v =
15.0
which translates to Excel 2013 (see e.g. http://en.wikipedia.org/wiki/Microsoft_Excel for the version numbers).
Titus
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!