Why do I get the error "Failed to add docroot into connector static content" on startup and "Page not found." errors in the help browser for my custom toolbox documentation?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 3 Avr 2019
Réponse apportée : MathWorks Support Team
le 24 Avr 2019
When I start MATLAB I see an error in the Command Window that says
Failed to add docroot into connector static content
Further, MATLAB startup is rather slow and, when viewing my custom toolbox documentation, I get "Page not found." errors instead of seeing my content. Removing my documentation from the MATLAB search path (i.e. the folder containing my info.xml file) and re-adding it to the search path seems to resolve the "Page not found" issue (i.e. rmpath('\path\to\my\doc'); addpath('\path\to\my\doc'); ).
Réponse acceptée
MathWorks Support Team
le 25 Avr 2019
The "Failed to add docroot into connector static content" is likely caused by antivirus and/or firewall software that is interfering with MATLAB at startup. This can prevent MATLAB from initializing your custom documentation correctly, causing the "Page not found." errors.
Please try disabling your antivirus and/or firewall software temporarily to see if that resolves the issue. If so, you can white-list MATLAB in your antivirus and/or firewall software to avoid this issue in the future.
Note that the "Page not found." error can also occur if the path you provided in a hyperlink in the XML source code for your documentation was misspelled or points to a file that does not exist.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!