MATLAB: Are the Model Configuration Parameters and Model advisor GUI not opening and generating errors in Simulink 8.0 (R2012b)

simulink

When I attempt to open the Model Configuration Parameters dialog box, either the status bar hangs or nothing happens. I get the warning:
Warning: Detected 1 error(s) in Simulink.ConfigSet.getDialogSchema:
Undefined variable "coder" or class "coder.coverage.CodeCoverageSettings".
Cannot create config set dialog
Additionally, the Upgrade Advisor produces the following error:
Undefined variable "UpgradeAdvisor" or class "UpgradeAdvisor.open".
Error in SLStudio.AnalysisMenu>DelayedShowUpgradeAdvisorCB (line 431)
UpgradeAdvisor.open(model);
Error in SLStudio.AnalysisMenu>ShowUpgradeAdvisorCB (line 420)
DelayedShowUpgradeAdvisorCB( handle );

Best Answer

Please execute the following commands to resolve the issue :
>> restoredefaultpath
>> rehash toolboxcache
>> savepath