MATLAB: Does a registry configuration error occur when I try to use MATLAB Engine as a user without administrative privileges on Windows 2000 with MATLAB 7.0 (R14)

MATLAB

When I try the engwindemo.c example as a user without administrative privileges, I receive the following error message:
Registry Configuration Error:
Unable to set Registry value for CLSID\{2A021682-B0D6-4734-BCBF-F8FF3A987E65}
If I have administrative privileges, everything works fine.

Best Answer

This bug has been fixed in MATLAB 7.1 (R14SP3). If you are using a previous version, read the following:
To work around this issue, log in as an administrator and set the permission to Full Control for the following registry keys for each user who will be using MATLAB Engine:
/HKEY_CLASSES_ROOT\CLSID\{2A021682-B0D6-4734-BCBF-F8FF3A987E65}
/HKEY_CLASSES_ROOT\CLSID\{A052DEB6-24BF-4425-B4AE-E8C55D264566}
You can edit registry keys using the Windows Registry Editor program. On the Start menu, choose Run and type:
regedit
In Registry Editor, find the keys listed above. Right-click each of the registry keys and click Permissions on the shortcut menu. For each user who will be running your MATLAB Engine application, select Full Control.
WARNING: If you use Registry Editor incorrectly, you can cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.