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!エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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 (한국어)