My matlab fails to start. Assertion failed error message.

303 views (last 30 days)
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

Answers (6)

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

Jiri Vejrazka
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
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.

Sign in to comment.


Stanislav Olivik
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.

Aaron Kaw
Aaron Kaw on 5 Jul 2023
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 on 14 Dec 2018
I have exactly same trouble with Matlab 2018a.

James Zhang
James Zhang on 21 Dec 2018
I have exactly same trouble with Matlab 2018b as well.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!