- Reinstalling MATLAB
- Reinstalling MATLAB in a drive different than the original drive (D:\ instead of C:\ e.t.c.)
- Executing the commands listed in the above answer.
- Regenerating the MATLAB preference folder as instructed in the link provided in the above answer.
Simulink Startup Error shows Server Error
1 次查看(过去 30 天)
显示 更早的评论
Hi, When I start my Simulink, it shows two errors
Task name: 'sltemplate.internal.request.loadTemplates' Task arguments: '' Error Type: 'Server Error' Error Message: 'Forbidden;403'
Task name: 'sltemplate.internal.request.loadSimulinkHistory' Task arguments: '' Error Type: 'Server Error' Error Message: 'Forbidden;403'
Any reasons and solution to this please? Thank You
0 个评论
回答(2 个)
Pradeep Kumar
2019-1-14
After uninstalling and reinstalling MATLAB thrice, I think I may have found a solution to this problem.
Let me first list out things that don't work:
Now the solution is pretty simple. This error goes away if the internet connection is turned off when MATLAB/Simulink is opening.
The connection can be turned ON once simulink has opened successfully.
Although this is only a work-around, it seems to be the only way to get around this problem until MathWorks comes up with a solution.
3 个评论
Sonam Gupta
2018-3-28
Execute the following commands in your MATLAB command window to resolve this issue:
restoredefaultpath
rehash toolboxcache
savepath
sl_refresh_customizations
If the above commands do not work then regenerating MATLAB preference folder by following the instructions at this link may help:
1 个评论
Pradeep Kumar
2019-1-12
This does not resolve the issue. I have tried regenerating the MATLAB preference folder as well, as directed by the above link. However, the problem still persists.
Please look into this issue at the earliest and provide a resolution.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!