Matlab extremely slow to start up due to error mwdocsearch.exe

14 次查看(过去 30 天)
Matlab 2022B has a bug in "mwdocsearch.exe" which is automatically run when launching Matlab and results in the following error.
Caught "std::exception" Exception message is:
An error occurred while initializing child process: While attempting to execute "C:\Program Files\MATLAB\R2023a\bin\win64\mwdocsearch.exe server -m C:\Program Files\MATLAB\R2023a -p 59732 -v C:\Users\TestMTT\AppData\Local\Temp\ -t 7412 0 1 0 0 0": CreateProcessW: Insufficient system resources exist to complete the requested service [system:1450]
I tried to upgrade to 2023a and same bug occurs.
Does anybody know how to cure this failure or disable the "mwdocsearch.exe" from running? This will cause Matlab to hangup for sometimes up to 10minutes before ultimately presenting the error and allowing Matlab to open.
  3 个评论
Walter Roberson
Walter Roberson 2024-8-21
I think you are going to need to contact Mathworks Support for free installation assistance.

请先登录,再进行评论。

回答(1 个)

Animesh
Animesh 2024-8-21
It seems that MATLAB is simply trying to start an executable during initialization. One possible reason could be that the antivirus software is preventing the executable from running.
If you're accessing online documentation, this error is typically harmless. However, if you're using installed documentation, you may encounter issues with searching the documentation.
To check if the executable can run on your machine, you can try launching it directly from the Windows command prompt:
>> "C:\Program Files\MATLAB\R2023a\bin\win64\mwdocsearch.exe" server -m "C:\Program Files\MATLAB\R2023a" -p 59732
If turning off the antivirus or firewall does not resolve the issue, you can contact MathWorks support:
  4 个评论
Matthew
Matthew 2024-8-26
Thanks Animesh, No it does not. We are still using Win7 64bit but this is on production testers which are not allowed to be upgraded. Maybe we need to downgrade Matlab to a version that still supports Win7.

请先登录,再进行评论。

类别

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

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by