필터 지우기
필터 지우기

ActiveX PROGID does not represent an Activex control, h = actxcontro​l('uc480.u​c480Ctrl.1​')

조회 수: 3 (최근 30일)
I am using a DCU223M CCD camera from thorlabs. When I try the following command,
h = actxcontrol('uc480.uc480Ctrl.1')
the following error is returned
Error using feval Input PROGID does not represent an Activex control. If this PROGID used to work before, please check vendor's documentation for equivalent activex control progid.
I have checked in the registry and the uc480.uc480Ctrl.1 progID does exist so why does matlab not recognise it. The camera works using Thorlabs Thorcam software and an independent ActiveX viewer

답변 (1개)

Ritesh Naik
Ritesh Naik 2016년 3월 7일
Hello,
Please check the bitness of MATLAB and ActiveX control. Several users usually see this error message while trying to use 32-bit ActiveX controls with 64-bit MATLAB.
The ability to use 32-bit ActiveX controls with 64-bit MATLAB is not available. and is a limitation of the 64-bit Windows operating system. ActiveX controls are "in-process" COM objects which can not be used by 64-bit applications.
The workaround is to install a 32-bit version of MATLAB on the 64-bit machine.
Please enter the following command in MATLAB window to check the bitness of MATLAB:
>> mexext
Please let me know if you are loading the ActiveX control of the right bitness that matches with MATLAB's bitness and still you are seeing this error message.
Regards,
Ritesh
  댓글 수: 1
Pushpa Saravanan
Pushpa Saravanan 2017년 3월 3일
I got the same error message, i checked the bitness of matlab it shows "mexw64". Pls help me what could be done next.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by