An error message appears when starting MATLAB but the compilation can still be performed normally

25 次查看(过去 30 天)
Hello everyone advanced
Excuse me, when I start the MATLAB program, the following error message appears,
I tried to find a solution but couldn't find it.
How can I fix the content of this error message, thank you.
[error message]
Caught "std::exception" Exception message is:
An error occurred while initializing child process: While attempting to execute "C:\Program Files\MATLAB\R2022b\bin\win64\mwdocsearch.exe server -m C:\Program Files\MATLAB\R2022b -p 1237 -i 4884 -v C:\Users\King\AppData\Local\Temp\": CreateProcessW: �t�θ귽�����A�L�k�����n�D���A�ȡC

回答(1 个)

Shubham
Shubham 2023-4-3
Hi jiankuan,
The error message you provided suggests that MATLAB is having trouble initializing a child process due to an issue executing the "mwdocsearch.exe" server file. The error message is specific to Windows OS, indicating an issue with running the server file with the specified options.
Here are some steps you can try to resolve the error:
  1. Check if the mwdocsearch.exe file exists in the specified directory: "C:\Program Files\MATLAB\R2022b\bin\win64". If the file is missing, try reinstalling MATLAB.
  2. Try running MATLAB as an administrator. Right-click on the MATLAB icon and select "Run as administrator". Sometimes, certain permissions or access rights are required to execute certain files.
  3. Try disabling any antivirus software temporarily and check if the issue persists. Sometimes, antivirus software may interfere with the execution of certain files.
  4. If none of the above steps works, try repairing the MATLAB installation. You can do this by going to "Control Panel" > "Programs and Features" > "MATLAB R2022b" > "Uninstall/Change" > "Repair".
I hope this helps to resolve the issue you are facing.

类别

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

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by