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 commentaires

Jan
Jan le 2 Oct 2015
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
>>
Mikael Brun
Mikael Brun le 21 Jan 2016
Modifié(e) : Mikael Brun le 21 Jan 2016
I have this trouble too, on linux. Anyone found a solution? Except using the dbcont command
Adam
Adam le 21 Jan 2016
Why can you not use dbcont if that is exactly its purpose?

Connectez-vous pour commenter.

Réponses (2)

Chethan Pandarinath
Chethan Pandarinath le 23 Juil 2016

2 votes

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
K R. Rad
K R. Rad le 5 Nov 2015
Modifié(e) : Walter Roberson le 21 Jan 2016
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
>>

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by