필터 지우기
필터 지우기

Control oneNote with MATLAB

조회 수: 13 (최근 30일)
Victor
Victor 2014년 8월 10일
댓글: Victor 2014년 8월 10일
I am trying to control oneNote 2013 with MATLAB. I've tried:
actxserver('onenote.application')
which creates an object but when I use methods() to see what methods I can use there are no onenote specific methods available.
I have also tried .NET using:
NET.addAssembly('Microsoft.Office.Interop.OneNote');
Microsoft.Office.Interop.OneNote.ApplicationClass
Using methods() I can see the oneNote specific methods, i.e. GetHierarcy, but when I try to use them I get the following error
No method 'GetHierarchy' with matching signature found for class 'Microsoft.Office.Interop.OneNote.ApplicationClass'
Anyone have any experience using MATLAB to control oneNote?

답변 (1개)

Image Analyst
Image Analyst 2014년 8월 10일
Can it record a macro like Excel? When I want to know the ActiveX methods to use in Excel, I record a macro and then look at the macro source code to see how it did it.
  댓글 수: 1
Victor
Victor 2014년 8월 10일
It doesn't have macro functionality like Excel. The strange thing is that I know what the commands should be for onenote as I've seen examples from other people but when I try to use the commands it doesn't work for me. I am thinking it is a registry setting that I am missing or something like that.

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

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by