matlab

Go to error line in MATLAB command window


In Python's Spyder, I'd click on temp_fn below and be taken directly to the offending line.

Instead, it opens a box, and the closest is View code for temp_fn.m, but that goes to top of the function, not the offending line.

Is there anything better for achieving said functionality? Just use that box and then Ctrl + D (go-to line)? Note it must work for any level of stack trace, not just the final offending line.


Solution

  • Click on line 5, it's a hyperlink to the line within temp_fn.

    For the previous level of the stack trace, click the line 4 hyperlink to the line within temp in this example.