Passing variant argument in COM?

조회 수: 2 (최근 30일)
Hoi Wong
Hoi Wong 2011년 6월 27일
I'm trying to control VisualDSP++ and have trouble passing simple numbers as Variant to the most important methods
Methods for class Interface.VisualDSP___IDDE.IADspSessionList: handle CreateSession(handle, Variant) handle Item(handle, Variant)
I tried visualDSPhandle.SessionList.Item(1) and it returns "??? Invoke Error, Dispatch Exception: The parameter is incorrect."
Any ideas? Thanks in advance

답변 (0개)

카테고리

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