My matlab fails to start. Assertion failed error message.

47 次查看(过去 30 天)
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 个评论
li
li 2024-4-22
移动:Walter Roberson 2025-2-19
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
Pan 2024-11-13
移动:Walter Roberson 2025-2-19
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

请先登录,再进行评论。

回答(3 个)

Jiri Vejrazka
Jiri Vejrazka 2019-1-2
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 个评论
Stanislav Olivik
Stanislav Olivik 2020-2-10
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
Stanislav Olivik 2020-2-10
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.

Yang Li
Yang Li 2025-2-19
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!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by