visual c++ runtime library error
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
when I execute my simulation code, I am getting the visual c++ runtime library error ...
can anybody knows about the error and help....
2 comentarios
Kaustubha Govind
el 12 de Mayo de 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
el 19 de Feb. de 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.
Respuestas (1)
Jordan
el 21 de Sept. de 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 comentario
Kaustubha Govind
el 21 de Sept. de 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.
Ver también
Categorías
Más información sobre C Shared Library Integration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!