MATLAB: Do I receive ActiveX errors when I try to run XPCEXPLR in xPC Target 4.3 (R2010a)

activexfailmbsplit.ocxmscomctl.ocxmshflxgd.ocxmwxpcpanelctrlsxxxx.ocxrichtx32.ocxSimulink Real-Timetabctl32.ocx

When I try to start the XPC Target Explorer by running XPCEXPLR for the first time, I receive the following error:
Begin registering ActiveX controls ...
Warning: Registration of MBSplit.ocx failed.
System error message:
> In xpc_register_ocx at 72
In xpcexplr>i_checkreg at 64
In xpcexplr at 21
Warning: Registration of MSCOMCTL.OCX failed.
System error message:
<SNIP>
> In xpc_register_ocx at 72
In xpcexplr>i_checkreg at 64
In xpcexplr at 21
Finished registering ActiveX controls
??? Error using ==> actxcontrol at 216
Control creation failed. Invalid ProgID 'mwxpccontrolsx4x3.ImageListCtrl'
Error in ==> D:\MATLAB\R2010a\toolbox\rtw\targets\xpc\xpc\@xpcExplorer\@explrGUI\createImageAxlist.p>createImageAxlist at 6
Error in ==> D:\MATLAB\R2010a\toolbox\rtw\targets\xpc\xpc\@xpcExplorer\@explrGUI\explrGUI.p>explrGUI at 27
Error in ==> D:\MATLAB\R2010a\toolbox\rtw\targets\xpc\xpc\@xpcExplorer\@xPCexplr\xPCexplr.p>xPCexplr at 15
Error in ==> xpcexplr at 34
obj = xpcExplorer.xPCexplr;

Best Answer

When xPC Target Explorer is started for the first time, it needs to register a set of ActiveX controls. The registration requires you to run MATLAB as an administrator. Even if you are an administrator on your machine, you may need to explicitly start MATLAB as administrator by right-clicking on the application icon and choosing "Run as administrator".
The registration of ActiveX components is only required the very first time you start xPC Target Explorer. The next time you run MATLAB, you do not have to go through this process.