"Caught "std::exception" Exception message" in command line window.

49 views (last 30 days)
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 56316 -v C:\Users\28395\AppData\Local\Temp\ -t 9132 0 1 0 0 0": CreateProcessW: 拒绝访问。 [system:5]
It pop out every time I launch the Matlab today.
What happend
  2 Comments
Walter Roberson
Walter Roberson on 28 May 2023
Some anti-virus systems sometimes believe that parts of MATLAB / Simulink are potential malware, so sometimes you need to exempt MATLAB from being scanned and then reinstall parts of it.

Sign in to comment.

Answers (1)

Amith
Amith on 16 Aug 2024
Hi Fu,
It looks like there is an issue with initializing the child process and the error message indicates that the operating system is denying access to execute "C:\Program Files\MATLAB\R2023a\bin\win64\mwdocsearch.exe" due to permission related issues.
You could try running Matlab as an "Administrator" and check if the issue is resolved or not. To run as an administrator, right-click on the Matlab icon and select "Run as administrator" option from the contextual menu.
If running as an administrator doesn't resolve the issue, you could also try disabling your antivirus software temporarily as it could be blocking the application from executing.
If the above solutions do not work, you could consider repairing or reinstalling MATLAB to resolve any potential corrupt installation-related issues.
Hope this helps!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!