Return not working when debugging?

It seems as though when I type in return for 2015b in mac it does not continue with the code. Is anyone else having this problem?

4 个评论

Where do you type "return"? Do you mean dbcont ?
I have the same problem. When in keyboard mode and I type "return", keyboard mode is not exited. I get:
>> keyboard
K>> return
K>>
whereas it should be
>> keyboard
K>> return
>>
I have this trouble too, on linux. Anyone found a solution? Except using the dbcont command
Why can you not use dbcont if that is exactly its purpose?

请先登录,再进行评论。

回答(2 个)

I found this same issue when I recently upgraded to 2016a. While 'return' during debugging would resume execution in older versions of Matlab, it appears that this syntax is no longer supported. You can use 'dbcont' instead: dbcont
I have the same problem. When in keyboard mode and I type "return", keyboard mode is not exited. I get:
>> keyboard
K>> return
K>>
whereas it should be
>> keyboard
K>> return
>>

类别

帮助中心File Exchange 中查找有关 Desktop 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by