フィルターのクリア

MATLAB 2018a: Unusual CPU load during keyboard

1 回表示 (過去 30 日間)
Jaroslav Kautsky
Jaroslav Kautsky 2018 年 4 月 13 日
回答済み: Bruno DrNo 2018 年 6 月 19 日
What is Matlab doing when it appears doing nothing? The CPUs get busy when a function reaches "keyboard:" and switch off after "dbcont" or "dbquit". Why? Not noticed in earlier versions.

回答 (2 件)

Bruno DrNo
Bruno DrNo 2018 年 6 月 19 日
編集済み: Bruno DrNo 2018 年 6 月 19 日
I have exactly the same behavior with v2018a. CPU go like crazy after a simple keyboard inserted in the program. Certainly a new bug...
Edit: to reproduce it, just type this (can't do simpler!):
for i_loop=1:10 if i_loop==5, keyboard, end end
and check you CPU load...

Bruno DrNo
Bruno DrNo 2018 年 6 月 19 日
Will have to wait for solving this bug:
Answer from MatWorks: "We are aware of this issue in R2018a and the development team is working on resolving it for a future release. I apologies for any inconvenience this may have caused you.
You can track the bug in the following report: https://www.mathworks.com/support/bugreports/1736753"

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by