When i want to start Simulink, system prompted "Undefined variable "sltemplate" or class "sltemplat​e.ui.Start​Page.show"​"

69 views (last 30 days)
I just installed Matlab 2016 in windows 7 system and I found I use Simulink. When I start simulink, it will prompt following error: Undefined variable "sltemplate" or class "sltemplate.ui.StartPage.show". By the way, I just upgrade my computer hardware, I don't know if this is the reason for this problem.

Answers (1)

Bhavesh
Bhavesh on 9 May 2016
The default paths of MATLAB may not be configured properly on your workstation. In order to reset them, please proceed with the following steps:
In MATLAB, type the commands to restore the application path
>> rehash toolboxcache
>> restoredefaultpath
>> matlabrc
>> savepath
Any custom path will be overwritten but you can make a backup as described in the article below:
How will running the restoredefaultpath and savepath commands affect my custom paths and how do I back up my custom paths? http://www.mathworks.com/matlabcentral/answers/166871
"restoredefaultpath" path will reset paths for all toolboxes/addons. This is why if you have installed a third party toolbox which doesn't come from MathWorks, you will have to reinstall that toolbox.
  9 Comments
anna friz
anna friz on 13 Apr 2021
I have the same problem, simulink won't open and it gives me this error
Unable to load bundle binary C:\Program Files (x86)\Matlab\bin\win64\builtins\sl_lib_browse2\mwsl_lib_browse2_builtinimpl.dll. Error: 126: not connected
still haven't found a solution

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!