Doug's MATLAB Video Tutorials

September 2nd, 2010

Using debugger to walk through code.

Sometimes, when you are given a piece of code, it works well and you want to learn from it. Reading through the code is not always that helpful if done all at once. It is too much to process. Looking at the results leaves you unaware of the process used to get there. This video shows how using the debugger to walk through the code can make it very clear what was done to accomplish the end goal.

One Response to “Using debugger to walk through code.”

  1. Nike Dunks replied on :

    If you take responsibility for yourself you will Nike Dunksdevelop a hunger to accomplish your dreams.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Doug Hull is a proud MathWorker who is on a mission to help you with MATLAB.

Doug's picture

These postings are the author's and don't necessarily represent the opinions of The MathWorks.