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 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-4-3
回答: MathWorks Support Team
2019-4-24
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'); ).
采纳的回答
MathWorks Support Team
2019-4-25
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 个评论
更多回答(0 个)
另请参阅
类别
在 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!