Saturday, March 1, 2014
What Is Matlab OCX Registration Error?
The Full Error
The “OCX Registration Error” occurs only in MATLAB versions R2009a and R2009b and only in Windows 7. This is the full text of the error:OCX Registration Error
Could not register the file C:\Windows\system32\MSHFLXGD.OCX.
Error running DllRegisterServer function.This error occurs during installation because MATLAB’s installer is looking for the “MSHFLXGD.OCX” file and it cannot find it. The OCX file in question does not actually exist in Windows 7.
OCX Files
OCX stands for “OLE Control Extensions,” and OLE in turn stands for “Object Linking and Embedding.” The OCX framework in Microsoft Windows consists of scripts that allow multiple applications on the computer to share information. Common uses of OCX files include allowing the user to drag and drop data between two programs and to control scroll bars and window resizing.
What To Do
Users may encounter the “OCX Registration Error” and believe that there was a problem with the installation. In fact, ignoring the error by clicking “Next” in the window in which it appears is all the user has to do. The installation will complete and MATLAB will function normally. Alternatively, affected users may download the missing OCX files for free. Downloading the “MSHFLXGD.OCX” file and saving it in the folder “C:\Windows\system32\” before installing MATLAB will indeed prevent the error – but it doesn’t actually matter.
Future Problems Prevented
Windows 7 users reported this error during the MATLAB 2009a and R2009b installations to MATLAB’s software developer, MathWorks. Beginning with MATLAB R2010a, MathWorks removed affected lines of code from the installation package. Since that bug fix, the MATLAB installer will complete successfully without an “OCX Registration Error” in Windows 7 and MATLAB will function properly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment