Clear Filters
Clear Filters

Microsoft Visual C++ Runtime Library. Runtime Error! Program E:\Matlab\​bin\win32\​matlab.exe

6 views (last 30 days)
This has come up quite a lot in the forums before, but there doesn't seem to be any decent answers to why its happening or how to cure it.
Im running MATLAB 2009a and Vista. The problem started suddenly out of the blue. To my knowledge no updates/ system configs had been changed. The machine is dedicated to running MATLAB.
The error occurs when running some demanding code after c. 15 mins of running the same operation.
I have Java 6 Update 25 and Java SDK 6 U21 installed.
Previous advice has included changing compatibility settings and over-writing which JRE MATLAB looks at.
Would be interested to hear some comment from MATHWORKS staff on this. It seems to repeat occuring with different versions of MATLAB and Java, so its clearly not specific to the actual software/code Im using.
mathworks2011 on 18 May 2011
the mathworks guys normally are very good at answering forum questions.
The problem with writing to MathWorks Tech Support is that the answer isnt around for others to see in the future:)
Andreas Goser
Andreas Goser on 19 May 2011
I am not fully sure if I understand. Typically, the technical help given by Technical Support is availble as published solution document. I can't tell technically about this specific issue, so in case you do not get a good response here, but one from Techical Support, please let me know an I check whether it is published ot not.

Sign in to comment.

Accepted Answer

mathworks2011 on 26 May 2011
I spoke to mathworks technical support and they said they had never heard of this issue before.
I then updated as much of the java (SDK, JRE) on my machine as possible and the issue seems to have disappeared, though I havent been running the same intensive code.
in short: no idea!

More Answers (0)


Find more on Java Package Integration 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!