ActiveX PROGID does not represent an Activex control, h = actxcontrol('uc480.uc480Ctrl.1')
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Ritesh Naik
il 7 Mar 2016
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 Commento
Pushpa Saravanan
il 3 Mar 2017
I got the same error message, i checked the bitness of matlab it shows "mexw64". Pls help me what could be done next.
Vedere anche
Categorie
Scopri di più su ActiveX in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!