My matlab fails to start. Assertion failed error message.

189 次查看(过去 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

回答(7 个)

HsinJhao Chow
HsinJhao Chow 2019-12-20
Same error message with Matlab2019b after updated to Matlab R2019b Update3 version.
So what is the problem?

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.

Aaron Kaw
Aaron Kaw 2023-7-5
I have this error with MATLAB 2023a. Tried reinstalling to no avail.
How has this issue not been addressed for almost 3 years?! Amazing support Mathworks.

Jiri Vejrazka
Jiri Vejrazka 2018-12-14
I have exactly same trouble with Matlab 2018a.

James Zhang
James Zhang 2018-12-21
I have exactly same trouble with Matlab 2018b as well.

li
li 2024-4-22
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

类别

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