필터 지우기
필터 지우기

visual c++ runtime library error

조회 수: 5 (최근 30일)
Basanta
Basanta 2011년 5월 12일
댓글: ALEJANDRA CARDENAS 2015년 2월 19일
when I execute my simulation code, I am getting the visual c++ runtime library error ...
can anybody knows about the error and help....
  댓글 수: 2
Kaustubha Govind
Kaustubha Govind 2011년 5월 12일
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 2015년 2월 19일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jordan
Jordan 2011년 9월 21일
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
Kaustubha Govind
Kaustubha Govind 2011년 9월 21일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by