Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
Why does Matlab get stuck in busy state before showing an error message or ending a script?
조회 수: 1 (최근 30일)
이전 댓글 표시
I can start Matlab and run programms without any time issues. When an error occurs it takes Matlab about two minutes to show the error message in the command window. During that time it is not responding and 'busy'. Same happens when a programm finishes it takes Maltab the same time to show the >> again. I tried different Versions from 2013a to 2014a. Everytime the same problem.
댓글 수: 11
per isakson
2014년 4월 20일
Strange! Are files on a server involved? What happens if you do Cntrl-C during those two minutes?
dpb
2014년 4월 20일
Strange, indeed? Any chance still have an earlier release installed? Does it happen there, too, if so?
Is this a newly-developed symptom or is/has it been like this from initial installation?
Flo
2014년 4월 20일
Hi, it happens on 2013a and 2014a. CTRL+C doesnt work. It really freezes. Figures, command window, everything. All files are on local hard drive. That issue came up a few days i guess. I though it its the code after the last command of the whole file it just gets stuck. Is there something to reset Matlab settings, paths or anything?
Flo
2014년 4월 20일
OK it seems that it has to do with the actual code.. another programm works fine. In that faulty case i use many classes and handles.. might that be the reason?
dpb
2014년 4월 20일
Looks like a case of isolation by bisection or the like...can you piecemeal smaller sections of the overall script/function/app and thereby perhaps discover the point at which the problem arises?
Otherwise and w/o any code specifically, not sure there's much anyone can do here. If it's not terribly large and you can also provide data to make it standalone (and IP or other issues aside, of course), you can always try to post/attach the code/data and see if others can reproduce the problem.
It would be best by far, of course, to make a serious effort to minimize the size required to do so, first. And, doing that might just find the cure as a side benefit... :)
per isakson
2014년 4월 20일
편집: per isakson
2014년 4월 20일
Shots in the dark:
- Try to run without the "accelerator". At least it is an easy test: feature('accel','off')
- "many classes and handles" . Help Matlab with the cleaning up by some explicit delete(obj). Tricky dependencies?
- "after the last command" set a break point close to the end and step through the end of the code. Sometimes Matlab behaves differently in debug mode.
Flo
2014년 4월 20일
Ok, i tried those. It seems that deleting the object take 132 seconds. Creating it takes 20 seconds. Unfortunatelly it is essential that handles point circular. But still, how does it take so long to delete that object?
Flo
2014년 4월 20일
OK lets say we got object "main". That includes map with values of type handle. There is map "a" and "b". An object from map "b" can reffer to an object in map "a" and vice versa. I now try to figure out if there is any speed up if i delete that link before deleteing so it does not get stuck in a circle.
Flo
2014년 4월 20일
Ok Update. I tried to implicit delete every handle and object and Matlab tries to delete all connected handles as well. Not only once. Seems as it results in a big mess of deleting everything a few times.
이 질문은 마감되었습니다.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)