Invoke Method on ActiveX Object Not Working

I am attempting to connect to Mint Workbench through an ActiveX object, the first thing it requires me to do is set up the link type but when I try:
Mint=actxcontrol('MintControls5710.MintController.1')
methods(Mint)
%I can see that setUSBControllerLink is a method
setUSBControllerLink(Mint,2) %Errors on this line
set(Mint,'jog',(1),5)
%Also errors if I use invoke instead
invoke(Mint, 'SetUSBControllerLink',2)
Any Help will be greatly appreciated.

댓글 수: 1

Geoff Hayes
Geoff Hayes 2014년 11월 18일
Joseph - please include your error messages as that will provide more information so that someone familiar with the problem, will be able to offer guidance.

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

답변 (0개)

질문:

2014년 11월 18일

편집:

2014년 11월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by