Along with this workaround, upgrading MATLAB to MATLAB R2011a will resolve this issue.
To discover the MATLAB Version
As a workaround for discovering the MATLAB version, execute VERSION at the command prompt, or look at the MATLAB Window Title Bar.
>> version
ans =
7.11.2.1031 (R2010b) Service Pack 2
To Prevent Installation of R2010bSP2 into the R2010bSP1 folder
To prevent MATLAB R2010b Service Pack 2 from installing into the R2010b Service Pack 1 directory take one of the following precautions:
- Uninstall R2010b SP1 prior to installing R2010b SP2 or
- Select a Custom installation and choose a new empty directory to install MATLAB into.
How to Fix the Registry Key
If you are using a third party product that relies on this registry key, the registry entry can be corrected after installing MATLAB R2010b Service Pack 2. (This workaround is not required for routine MATLAB usage.)
Modifications to registry entries can be made using the Windows Registry Editor. Before modifying your registry it is recommended that you back up the registry as a precaution. To edit the registry key:
- Click the Start Menu, then click "Run"
- In the Run window, type "regedit", then click OK
- Navigate to HKEY_LOCAL_MACHINE -> SOFTWARE -> MathWorks -> MATLAB -> 7.11.1
- Confirm that the path specified for the installation is for R2010bSP2
- Right click on 7.11.1 and select Rename
- Change the text to 7.11.2
Once these steps have been completed, third party software that relies on the registry key will see the corrected version number in the registry key.
Best Answer