MATLAB: How to remove the entries for obsolete functions from the Function Wizard in Builder for EX

MATLAB Builder EX

My Function Wizard shows previous addins loaded using the Builder for EX product though I have removed the addin from the Tools->Addin menu and have also deleted the addin XLA files.

Best Answer

The Function Wizard obtains the modules from the Windows registry, which is created while registering the application DLL.
Ideally, the best way to remove this entry is to use the /u switch for regsvr32. For example, to remove a previously registered Excel addin called myapp, use the following command at the Windows command prompt after navigating to the location where the addin resides:
regsvr32 /u myapp.dll
If this file is not available or has been deleted, the entry can be manually deleted from the registry. Please note that manual edits of the Registry is not recommended. Creating a backup is highly adviced in case you proceed with the following.
Steps to delete the entry in Windows registry:
Open the Registry editor. (Start -> Run -> regedit)
Search for the entry. (Ctrl+F, enter the application name)
Delete the entry. (Right click, Delete)
The Function Wizard should no longer display the module in its menu options. To repopulate this list, register the required application DLLs again.