My matlab fails to start. Assertion failed error message.
88 views (last 30 days)
Show older comments
I'm unable to open my Matlab program (version 2017A, Windows 10 Home OS). I'm getting an error message while starting Matlab from Microsoft Visual C++ Runtime library:
Assertion Failed!
Program: C:\Program
Files\MATLAB\R2017A\bin\win64\libmwfl.dll
File: b:\matlab\src\mvm\detail\mvmlocalboundmethods.cpp
Line: 114
Expression: Failed to open local mvm library: A dynamic link library (DLL) initialization routine failed.
Function: void__cdecl
mvm::detatil::MvmLocalBoundMethods::initMethods(constbool)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
Please help me with this issue.
Thank you,
Anirudh
6 Comments
li
on 22 Apr 2024
Moved: Walter Roberson
on 19 Feb 2025
Assertion failed!
Program: E:\Program Files\MATLAB\R2023b\bin\win64\libmwfl.dlFile: B:\matlab\foundation libraries\src\fl\d...\terminate.hxxLine: 42
Expression: len >= 0
For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts
(Press Retry to debug the application -JT must be enabled)
I'm unable to open my Matlab program (version 2023b, Windows 10 Home OS). I'm getting an error message while starting Matlab from Microsoft Visual C++ Runtime library:
Please help me with this issue.
Thank you,
Anirudh
Pan
on 13 Nov 2024
Moved: Walter Roberson
on 19 Feb 2025
The same as you. My version is 2024a. At the beginning, it is normal. However, now it displays the error message. Before that, I have tried 2019a and 2018b also has the same error
Answers (3)
Jiri Vejrazka
on 2 Jan 2019
The story was that some of the installation files were corrupt. Probably, some security feature of our quite restrictive network (automotive industry) modified some dll's.
The issue was fixed by downloading an iso file of installation DVD and installing MATLAB using it.
1 Comment
Stanislav Olivik
on 10 Feb 2020
I agree that it might be problem with installation files. In my case some files were not downloaded at all. Check file mw_download_error.log in your %temp% directory.
I fixed it by downloading the files on computer with different antivirus software. Then I copied the downloaded files from the %temp% directory to the installation source.
Stanislav Olivik
on 10 Feb 2020
I agree that it might be problem with installation files. In my case some files were not downloaded at all. Check file mw_download_error.log in your %temp% directory.
I fixed it by downloading the files on computer with different antivirus software. Then I copied the downloaded files from the %temp% directory to the installation source.
0 Comments
Yang Li
on 19 Feb 2025
I met the same problem and solved it successfully!
I found that this file (libmwfl.dll)was deleted by anti-virus software. After it was recovered, MATLAB(2020a and 2023a) can be opened.
Hope my answer might help you!
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!