ActiveX PROGID does not represent an Activex control, h = actxcontrol('uc480.uc480Ctrl.1')
4 ビュー (過去 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
0 件のコメント
回答 (1 件)
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
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 Center および File Exchange で ActiveX についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!