visual c++ runtime library error

7 Ansichten (letzte 30 Tage)
Basanta
Basanta am 12 Mai 2011
when I execute my simulation code, I am getting the visual c++ runtime library error ...
can anybody knows about the error and help....
  2 Kommentare
Kaustubha Govind
Kaustubha Govind am 12 Mai 2011
Could you elaborate on what you mean by "simulation code" - are you running a MATLAB script or a Simulink model? Do you have any MEX-files or S-functions or calling into any shared libraries? It might be useful to also paste a snapshot of the error.
ALEJANDRA CARDENAS
ALEJANDRA CARDENAS am 19 Feb. 2015
I have the same problem, when I run my script and write some values appears this error:
Runtime error! Program C:\Program Files\MATLAB\R2011a\bin\win32\MATLAB.exe . . .
The values written spend call functions that derive from MEX-files and a .dll library
Appreciate your help.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jordan
Jordan am 21 Sep. 2011
Not an answer but a similar problem: When executing my Matlab code (which also runs a simmechanics model) I often get the runtime error. Mostly, the first time running the simulation is ok. The second time I want to run it, or when I want to close it, I get the particular error.
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program files\MATLAB\R2007b\bin\win32\MATLAB.exe
This application requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I'm running Matlab 2007b on a Windows XP SP3 machine.
Anyone have solutions? Running it in windows 2000 compatibility mode didn't solve the problem.
I also think it is a combination of the software and the model. When running a more simple simmechanics model in Matlab 2007b I don't seem to get that error. Running the more complicated model in Matlab 2009 also seems to work without error. But my professor asked to do it in 2007 preferably.
  1 Kommentar
Kaustubha Govind
Kaustubha Govind am 21 Sep. 2011
This might be something you should report to Tech Support, especially is additional log files are generated with the runtime error. It is possible that there was a bug in R2007b that was fixed later.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by