MATLAB: Do I receive an error using the SLUPDATE function in Simulink 6.0 (R14) when I just installed a new version of Simulink

behavebehaviordifferentlyerrorsinstallMATLABnewsimulinkslupdatestrangeversion

After I install Simulink 6.0 (R14), I run my old R13SP1 model with the following command:
myf14
slupdate myf14
I receive the following error:
??? Error using ==> feval
Undefined command/function 'updateCS'.
Error in ==> slprivate at 12
[varargout{1:nargout}] = feval(function_name, varargin{1:end});
Error in ==> slupdate at 288
msg = slprivate('updateCS', cs, false); % full update

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) in the way that the toolbox cache handles updates between new versions of MATLAB.
To work around this issue, type the following command in MATLAB after installing the new version:
rehash toolbox