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

27 Ansichten (letzte 30 Tage)
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

Antworten (1)

Shubham
Shubham am 3 Apr. 2023
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by