MATLAB has stopped working..
이전 댓글 표시
I am trying to run a simulation which was built in matlab v 5. and it contains a user defined s function block. which made out of c code. i have that one also..
Now the problem is if i am trying to execute the simulation by calling from matlab program. the matlab crashing after some time.
what i did is. i created a mex file by using mex filename.c. and my compiler is microsoft visual c++ 2008 sp1.
I am using matlab R2010A version.
what will be the problem. how to rectify it.
댓글 수: 2
Walter Roberson
2012년 5월 20일
Are you using 32 bit MATLAB or 64 bit MATLAB?
mahesh
2012년 5월 21일
답변 (1개)
Andreas Goser
2012년 5월 21일
0 개 추천
I always recommend to "re-MEX" the C-MEX S-Functions when using newer releases. I know this is not always necessary, but it can be automated. In your case if you are coming from a very old release, it is definitetly wise to do it (as you did).
The question is now about the cause of the crash. There should be a crash dump displayed ot at least stored in the temporary directory. If the issue is not in the C Code itself, Technical Support can help you.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!