How should I do for Simulink error ?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Matt Flyer
le 3 Juin 2016
Modifié(e) : Matt Flyer
le 7 Juin 2016
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.
Réponses (5)
Matt Flyer
le 7 Juin 2016
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 commentaires
Nithin M
le 26 Juil 2019
Just tick the "Bypass proxy server for local addresses" in the internet options -> LAN Settings and restart MATLAB
Dieter
le 17 Juin 2016
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.
1 commentaire
Yuqi Cui
le 20 Nov 2017
I had the same problem here. Found that I was using the VPN. After turned it off, I can assess this page successfully.
1 commentaire
Nimish Bhatt
le 2 Août 2018
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
le 11 Oct 2018
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
0 commentaires
Laura Calvo Hernando
le 22 Oct 2022
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1165218/image.png)
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?
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!