Fatal Startup Error after update 2 of R2023a

I tried to do update 2 of R2023a and the update failed. Now I can't open MATLAB. What can I do? I get this error message:
Fatal Startup Error
Dynamic exception type: class cppmicroservices:: SharedLibraryException
std::exception::what: Loading C:\Program
Files\MATLAB\R2023a\bin\win64\matlab_startup_plugins\foundation\pl
atform\pf_matlab_impl\libmwpf_matlab_impl.dllfailed with error: The
specified procedure could not be found.
: state not recoverable: state not recoverable

4 Comments

It's best to contact Tech Support for installation issues.
I had the same problem.
You can resolve it by going to Windows Security, then Antivirus Protection and clic on the Protection History. Inside you will find some threats, you just have to restore this file: C:\Program Files\MATLAB\R2023a\bin\win64\ddux.dll
Wow, thank you for fixing this issue for me as well @Juan David España Rodríguez - great timing! Must be a problem with virus definitions that were released recently.
Same problem after installing 2024a pre-release and your solution.... WORKS!

Sign in to comment.

Answers (2)

The reason behind this issue seems to be the absence of your libmwpf_matlab_impl.dll file.
You can follow the following steps to fix this issue before escalating it to technical support:
  1. Check whether the libmwpf_matlab_impl.dll file is in the directory specified above, i.e. C:\Program Files\MATLAB\R2023a\bin\win64\matlab_startup_plugins\foundation\platform\pf_matlab_impl
  2. If the file is not found, then you can try reinstalling MATLAB and the problem should be solved.

3 Comments

Thank you for your response. I did check that and the file does exist. Could the file be corrupt?
@Michael Lopez that could indeed be the case, try reinstalling MATLAB, maybe that would work.
I had the same problem.
You can resolve it by going to Windows Security, then Antivirus Protection and clic on the Protection History. Inside you will find some threats, you just have to restore this file: C:\Program Files\MATLAB\R2023a\bin\win64\ddux.dll

Sign in to comment.

I have encountered the same problem. Have you resolved it?
Could you please tell me how to solve it?

4 Comments

I had the same problem.
You can resolve it by going to Windows Security, then Antivirus Protection and clic on the Protection History. Inside you will find some threats, you just have to restore this file: C:\Program Files\MATLAB\R2024a\bin\win64\ddux.dll
I don't know why Windows considers that file like a trojan, it's really annoying 'cause it even blocks the uninstall process.
Hope this works!
This is just to say that I had the same problem and the solution you provided worked perfectly.
Thank you very much
I had tried to reinstall MATLAB from scratch without success. These are the things which are very easy to solve once you know how to do it!!!!!
Thank you.. Issue resolved..
You're welcome, I'm glad to help!

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2023a

Asked:

on 6 Jun 2023

Commented:

on 4 Jan 2024

Community Treasure Hunt

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

Start Hunting!