When i want to start Simulink, system prompted "Undefined variable "sltemplate" or class "sltemplate.ui.StartPage.show""
Mostra commenti meno recenti
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.
Risposte (1)
Bhavesh
il 9 Mag 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 Commenti
Rachit Semalty
il 4 Giu 2018
Thank you very much. Yes it does work.
Gautam Sharma
il 7 Feb 2019
Thank you so so much. I just spent over 4 hrs banging my head to solve this
Elodie Chatel
il 27 Feb 2020
I just did what described, and I still have the same errors...
Theresa Cenate
il 4 Nov 2020
thankyou very much. It worked
Akakan-Abasi Okon
il 26 Nov 2020
Modificato: Akakan-Abasi Okon
il 26 Nov 2020
I am having issues trying to open simulink. Matlab is showing ''Error in sltemplate.ui.StartPage.show"
I've tried the precedures above but still didn't work.
chris pang
il 23 Dic 2020
I have tried, it also doesn't work.
Wolfgang Schramm
il 13 Gen 2021
Dear Matlab Experts,
I get a similar issue after 2020b Update3
>> simulink
[...]
Error in sltemplate.ui.StartPage.show
Error in simulink (line 40) [...]
Unable to load bundle binary C:\LegacyApp\MATLAB\R2020b\bin\win64\builtins\sl_lib_browse2\mwsl_lib_browse2_builtinimpl.dll. Error: 126: not connected
I have tried other findings in the forum, nothing worked so far
The solution above does not work (for my error)
anna friz
il 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
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!