problem with matlab when executing the same program twice?
이전 댓글 표시
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.
채택된 답변
추가 답변 (2개)
Jan
2011년 5월 4일
1 개 추천
Use the command "profile" to see, where the time is lost in the 2nd run.
Robert Cumming
2011년 5월 5일
0 개 추천
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...
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!