problem with matlab when executing the same program twice?
Mostrar comentarios más antiguos
i seem to be facing this weird problem when i try to run the same program in matlab, in succession. the first time i do it it gives me the answer within 30 seconds, and then when i try to run it again it just goes on and on. how is this possible? i have even used clear at the very top.
Respuesta aceptada
Más respuestas (2)
Jan
el 4 de Mayo de 2011
1 voto
Use the command "profile" to see, where the time is lost in the 2nd run.
Robert Cumming
el 5 de Mayo de 2011
0 votos
are you using a mex function or a dll? If so it could be that one of those has a memory leak? Meaning that clear all is nto actually clearing everything...
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!