How should I do for Simulink error ?

10 次查看(过去 30 天)
I installed "MATLAB R2016a student use". But when Simulink started, I got an error message that says, "Failed to load URL http://localhost:31415/toolbox/simulink/sltemplate/web/GalleryView/gallery.html?channel=/sltemplate/GalleryView/All/&viewType=All&startPage=true&snc=2A5BA5 with error (-105)." What should I do ?
  1 个评论
Matt Flyer
Matt Flyer 2016-6-3
编辑:Matt Flyer 2016-6-7
Were you able to get a solution? I have a very similar problem, except it exits on error (-101). I have determined that the connector is running and when I try this link in a web browser it seems to be throwing a 403 error saying Forbidden.

请先登录,再进行评论。

回答(5 个)

Matt Flyer
Matt Flyer 2016-6-7
I was able to successfully resolve my issue with this problem. I requested support from Mathworks and the response was that Java was experiencing a network connectivity issue and they offered some suggestions to try. In my case, it turned out that I was operating behind a network proxy server and it was attempting to route all of the local traffic through the proxy, which will not work. Setting an environment variable (e.g. export or .bashrc) for "no_proxy=localhost, 127.0.0.1" would resolve the error if Matlab/Simulink were started from within a terminal but not when started from the application launcher. The final solution was to place the no_proxy for local addresses in the proper configuration file, in my case /etc/environment.
  3 个评论
Nithin M
Nithin M 2019-7-26
Just tick the "Bypass proxy server for local addresses" in the internet options -> LAN Settings and restart MATLAB

请先登录,再进行评论。


Dieter
Dieter 2016-6-17
I have had the same problem with the "MATLAB R2016a” with the company proxy. I solved the problem for Simulink “web Gallery View” by defining an exception for localhost internet connection at the windows control panel (german os):
Internetoptionen -> Verbindungen -> LAN-Einstellungen -> Erweitert -> Ausnahmen: localhost.
Now it works fine.

Yuqi Cui
Yuqi Cui 2017-11-20
I had the same problem here. Found that I was using the VPN. After turned it off, I can assess this page successfully.
  1 个评论
Nimish Bhatt
Nimish Bhatt 2018-8-2
The above Solution does not solve the problem for 2018a. The error is still the same--Failed to load URL https://localhost:31516/toolbox/simulink/simulink/slmsgviewer/slmsgviewer.html?snc=XIQRAJ with error ERR_TUNNEL_CONNECTION_FAILED (-111).

请先登录,再进行评论。


Rinku Kumar
Rinku Kumar 2018-10-11
its some installed software such as windows firewall or installed antivirus that is stopping the The MATLAB to communicate, so, what you need to do, is to make exception for MATLAB in all those software and grant it all permissions to communicate

Laura Calvo Hernando
Me sale este error al intentar abrir un modelo en blanco de simulink o a la hora de abrir cualquier modelo ya creado de simulink ¿Como lo soluciono?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by