MATLAB has stopped working..
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 20 de Mayo de 2012
Are you using 32 bit MATLAB or 64 bit MATLAB?
mahesh
el 21 de Mayo de 2012
Respuestas (1)
Andreas Goser
el 21 de Mayo de 2012
0 votos
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.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!