Can I see values of variables while a code is running.

MATLAB on my PC is running a code that takes a very long time with a huge iteration.
I haven't put any disp, fprintf, etc in the code. Thus, I can't see how many iterations are done.
In this situation, can I access to the variables without halting the code ?

 Accepted Answer

If you have code that is already running, and it is not already displaying the values, then there is no way to turn on displaying the values -- not without interrupting the run.

2 Comments

False - see other answers
Be kind. The answer was True five years ago when it was posted.

Sign in to comment.

More Answers (3)

Tags

Asked:

on 12 Aug 2013

Commented:

on 3 Aug 2018

Community Treasure Hunt

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

Start Hunting!