Stuart’s MATLAB Videos

Debugging in MATLAB

Posted by Doug Hull,

This video is about how to debug in MATLAB. This video shows an error that occurs only now and then when using random inputs. A technique for capturing the random inputs, using dBSTOP IF ERROR, the debug stack, conditional breakpoints are all used here. The algorithm itself is really secondary to this discussion, but it comes from this series

Add A Comment

What is 3 + 8?

Preview: hide

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