MATLAB: Break a code in intermediate function

debug

Hi, I am trying to break a code in an intermediate function of the whole procedure I am running. For example, I run "my_script.m" which calls an intermediate function "my_function.m". I would like to break/pause the code at line 15 of "my_function.m". It is basic programming feature, but (surprsingly) couldnt do it or find quick instructions in the internet. I am grateful for any help. Thanks.

Best Answer

Would the pause function do what you want? Also, see the list of related functions at the end of that page.
Related Question