How do I register a file in Windows in order to set up an ActiveX communication?
Mostra commenti meno recenti
I receive an error when I try to start an ActiveX control or server from MATLAB. The error occurs because the control or server is not registered in the Windows registry.
For example, if the mwsamp.ocx file is not registered, I get the following error:
mwsamp
Warning: Control creation failed: (MWSAMP.MwsampCtrl.1)
??? Error using ==> activex/activex
Invalid ActiveX object
Error in ==> D:\Applications\matlab\toolbox\matlab\winfun\actxcontrol.m
On line 30 ==>
Error in ==> D:\Applications\matlab\toolbox\matlab\winfun\mwsamp.m
On line 20 ==> h = actxcontrol('MWSAMP.MwsampCtrl.1', [0 0 200 200], f, 'sampev')
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su ActiveX in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!