MATLAB Answers

Return not working when debugging?

16 views (last 30 days)
Aisha
Aisha on 2 Oct 2015
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 Comments

Show 1 older comment
K R. Rad
K R. Rad on 5 Nov 2015
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 on 21 Jan 2016
I have this trouble too, on linux. Anyone found a solution? Except using the dbcont command
Adam
Adam on 21 Jan 2016
Why can you not use dbcont if that is exactly its purpose?

Sign in to comment.

Answers (2)

Chethan Pandarinath
Chethan Pandarinath on 23 Jul 2016
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

  0 Comments

Sign in to comment.


K R. Rad
K R. Rad on 5 Nov 2015
Edited: Walter Roberson on 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
>>

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!