GUI in MATLAB/SIMULINK-ActiveX error

2 次查看(过去 30 天)
I was using a GUI in a simulink model. The code for the gui was written in MATLAB 2012, but the simulink model is created in 2017. When I try to integrate the gui and simulink model together and run, it gives the following error:
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.
How to solve thsi issue?

回答(1 个)

Agnish Dutta
Agnish Dutta 2020-2-5
编辑:Agnish Dutta 2020-2-5
One possible source of this error is when you try to run 32-bit ActiveX controls with 64-bit MATLAB. This isn't supported at the moment 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 let us know if the above is indeed the root of the issue and feel free to revert to this thread for any further queries.

Community Treasure Hunt

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

Start Hunting!

Translated by