+ Post New Thread
Results 1 to 20 of 31
 3rd July 2004, 15:46 #1
Matlab windows 7, Runtime Error! win32\matlab.exe
Whenever I try to open Matlab, I get the following message on top of the Matlab 7 splash screen and the program terminates:
QUOTE:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program E:\Matlab\bin\win32\matlab.exe
The application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information.
Press OK button.
UNQUOTE
Could anyone plz advise me on this.
Thanks in advance!
 3rd July 2004, 17:55 #2
 Join Date
 Oct 2003
 Location
 Germany
 Posts
 551
 Helped
 35 / 35
 Points
 7,682
 Level
 20
matlab 7 runtime error
Originally Posted by IndiJones
regards,
arunmit168.
 3rd July 2004, 18:42 #3
 Join Date
 Dec 2001
 Posts
 81
 Helped
 4 / 4
 Points
 4,987
 Level
 16
matlab 7 windows 7
Search in the Matlab forum
newsreader.mathworks.com
I seam to remember some users there complaining about a similar problem.
 3rd July 2004, 21:02 #4
 Join Date
 Jul 2002
 Location
 Middle Earth
 Posts
 4,629
 Helped
 487 / 487
 Points
 36,491
 Level
 46
matlab runtime error
unfortunately, no one has given the solution to this problem on the above mentioned matlab discussion site.
 3rd July 2004, 21:02
 3rd July 2004, 23:56 #5
 Join Date
 Apr 2002
 Location
 USA
 Posts
 3,942
 Helped
 659 / 659
 Points
 32,456
 Level
 44
matlab 7.0 runtime error
Be sure your computer meets the requirements:
h**p://www.mathworks.com/support/sysreq/current_release/windows.html
 4th July 2004, 01:02 #6
windows 7 matlab
As flatulant said, there's no answer to this problem in Matlab forums. My computer has everything as required by the system requirements. I just found out from the task manager\processes that the matlab.exe and matlabserver.exe starts running as the computer is turned on. If I end process of matlab.exe and then run Matlab, it works without any problem!
Before installing Matlab 7, I removed java2sdk1.42. I'll reinstall it and see if it corrects the problem.
 4th July 2004, 01:02
 4th July 2004, 07:23 #7
matlab 7 and windows 7
After reinstalling j2sdk, nothing changed. During Windows startup, I noticed that matlab webserver was running. So I disabled running webserver during windows startup and restarted the computer. After that matlab.exe and matlabwebserver.exe stopped running with the startup and since then it's not showing the runtime error and working.....for the time being. :)
 17th October 2004, 16:35 #8
 Join Date
 Jan 2003
 Posts
 174
 Helped
 0 / 0
 Points
 2,962
 Level
 12
windows 7 matlab 7
hi i have this problem with matlab 6.5 . i disabled matlabwebserver then i did uninstall it but i have thi sprob yet.
what do i do ?
 24th October 2004, 00:30 #9
 Join Date
 Dec 2003
 Posts
 56
 Helped
 1 / 1
 Points
 1,765
 Level
 9
matlab microsoft visual c++ runtime library
try using msconfig to stop matlabwebserver.exe from starting up,,
 24th October 2004, 00:30
 5th October 2005, 00:29 #10
 Join Date
 Oct 2005
 Posts
 1
 Helped
 0 / 0
 Points
 1,292
 Level
 8
matlab 7.0 problems
MATLAB worked fine after installation, until I restarted. That's when the same error you got started coming up for me.
//
Solution:
Open 'regedit' (Start > Run > type 'regedit' and press enter). In HKEY_CURRENT_USER open SOFTWARE and then MathWorks. Delete all of the subfolders in MathWorks.
Press ctrl+alt+del > click 'Processes' and close all MATLAB related processes (I had 3 running with names something like MATLAB and matlabserver).
Run MATLAB again, and hopefully it will work now!
\\
I'm running MATLAB Release 14 on WinXP Home
 11th October 2005, 13:16 #11
 Join Date
 Aug 2005
 Location
 Ottawa, Ontario, Canada
 Posts
 85
 Helped
 20 / 20
 Points
 2,557
 Level
 11
matlab visual c++ runtime error
it's a problem in java runtime, i guess if u update the java runtime invirnoment of the internet it will do the trick
 12th November 2005, 03:37 #12
 Join Date
 Nov 2005
 Posts
 1
 Helped
 0 / 0
 Points
 1,273
 Level
 8
runtime error matlab 7
Hi!
I've had this problem too. I first solved it by running the matlab.bat file with nodesktop parameter (also works with nojava). But after a bit of googling, I've found that there could be a connection between having a nonstandard theme in windows xp and this java runtime error!
Eg. my MATLAB_JAVA enviroment variable is set to: C:\Programmer\MATLAB7\sys\java\jre\win32\jre1.4.2\  and so jvm.dll is located in C:\Programmer\MATLAB7\sys\java\jre\win32\jre1.4.2\ bin\client (the \bin\client part will matlab figure out by it self).
So far this problem has only occured with ONE of my many themes (a theme calles SilverMAX)  and I really have no idea why :\  but resetting do default theme certainly did the trick for me
(So many hours of fustration, just because of a simple, nonstandard windows theme...)
I don't know if the theme file use java directly, or if it' just occupies something that java uses to draw the matlab desktop. (It is after all the desktoppart of matlab that gives the error, and aparently java is used by matlab to draw the UI)
Hope this works for you.
Best regards
Rasmus Schøler, Denmark
 12th November 2005, 08:39 #13
 Join Date
 Nov 2005
 Location
 pakistan
 Posts
 28
 Helped
 2 / 2
 Points
 1,733
 Level
 9
matlab 7 problems
visit matlab.com or search help.it is present in help.
 19th November 2005, 07:32 #14
microsoft visual c++ runtime library matlab
Originally Posted by vaf20
 9th May 2006, 20:01 #15
 Join Date
 May 2006
 Posts
 1
 Helped
 0 / 0
 Points
 1,184
 Level
 7
matlab 7 for windows 7
I have exactly the same problem, but I have also matlab 6.1 running on the same machine. When I want to start matlab 7, I open the task manager and stop the process matlab.exe, then I start matlab 7 and it works fine. Hope this helps.
 19th May 2006, 20:38 #16
 Join Date
 Feb 2006
 Posts
 336
 Helped
 40 / 40
 Points
 4,810
 Level
 16
matlab windows7
hi
its the problem with actually 64bit PCs,
for MATLAB 7 atext file is included which has procsser versions on which matlab will run, see that file name and how to modify that on matlab forum
 30th May 2006, 19:55 #17
 Join Date
 May 2006
 Posts
 1
 Helped
 0 / 0
 Points
 1,174
 Level
 7
microsoft visual c++ runtime library error matlab
In my case I solved the problem accesing to
Control panel
System
Advanced
Performance
Settings
Data Execution Prevention
Then thicking the option
"Turn on DEP for all programs and services except those I select:"
and finally adding the location of the Matlab exe file.
Restart before open Matlab
Windows XP, Matlab 7.0
Hope this help you...
 13th September 2006, 08:05 #18
 Join Date
 Sep 2006
 Posts
 1
 Helped
 0 / 0
 Points
 1,121
 Level
 7
matlab 7 in windows 7
I tried what Thraxfire wrote and it worked perfectly. I had windowsblinds installed, when I removed it and turned my windows style appearance back to default then Matlab worked perfectly
 4th April 2007, 04:16 #19
 Join Date
 Apr 2007
 Posts
 1
 Helped
 0 / 0
 Points
 1,020
 Level
 7
matlab 7 patch
thanx dudes
I had "Tuneup Utilities" installed (similar to windowsblinds) took off the style and matlab 7 worked again
:D
 16th February 2009, 13:50 #20
 Join Date
 Feb 2009
 Posts
 2
 Helped
 0 / 0
 Points
 685
 Level
 5
matlab 6.5 windows 7
I've finally figured out the solution for this problem.
Problem: Matlab 7 shows me VC++ Runtime Error when I try to run it on Windows 7 beta 7022 build.
Solution: Simply change the theme to "Windows Classic". I also have tried to disable matlabserver service on startup, but it didn't work. After I changed the theme, it started to work perfectly.
+ Post New Thread
Please login
LinkBacks (?)
 8th April 2014, 21:04
 7th April 2014, 13:51

Two problems with mexfiles > How to debug ...  Newsreader  MATLAB Central
Refback This thread17th January 2012, 15:15 
Two problems with mexfiles > How to debug ...  Newsreader  MATLAB Central
Refback This thread10th August 2011, 21:25 
Two problems with mexfiles > How to debug ...  Newsreader  MATLAB Central
Refback This thread8th June 2011, 22:47 
Two problems with mexfiles > How to debug ...  Newsreader  MATLAB Central
Refback This thread2nd June 2011, 12:43