MATLAB: Do I get various registry errors when trying to run Model Calibration Toolbox 4.1 (R2010b) on Windows Vista or Windows 7

When I execute MBCMODEL to start Model Calibration Toolbox, I see a popup GUI with the following error message:
MBC has attempted to install the required system files but has encountered error.
Error installing C:\Program Files\MATLAB\R2010b\toolbox\mbc\mbcguitools\ocx\system\mscomct2.ocx
Error accessing registry for C:\Windows\system32\mscomct2.ocx.
Could not increment registry counter.
Error installing C:\Program Files\MATLAB\R2010b\toolbox\mbc\mbcguitools\ocx\system\mscomctl.ocx
Error accessing registry for C:\Windows\system32\mscomctl.ocx.
Could not increment registry counter.
Error installing C:\Program Files\MATLAB\R2010b\toolbox\mbc\mbcguitools\ocx\system\mwmbccontrols.ocx
Could not register the file C:\Program Files\MATLAB\R2010b\toolbox\mbc\mbcguitools\ocx\system\mwmbccontrols.ocx
Error running DllRegisterServer function.

Best Answer

This issue is being caused by Windows UAC (User Account Control) blocking MBCMODEL and CAGE from installing ActiveX controls. It will happen on all Windows Vista or Windows 7 installs with UAC enabled. If you switch off UAC the first time when starting MBCMODEL/CAGE, it will install the activeX controls, then you can switch UAC back on.