O'Reilly logo

MATLAB For Dummies by John Paul Mueller, Jim Sizemore

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13

Recovering from Mistakes

In This Chapter

arrow Understanding error messages

arrow Considering the uses of quick alerts

arrow Obtaining common fixes for MATLAB error messages

arrow Developing your own error messages

arrow Embracing good coding practices

Alot of people associate mistakes with failure. Actually, everyone makes mistakes, and they’re all learning opportunities. Some of the greatest minds the world has ever seen thrived quite nicely on mistakes. (Consider how many tries it took Edison to get the light bulb right; also, see my blog post at http://blog.johnmuellerbooks.com/2013/04/26/defining-the-benefits-of-failure/ on the benefits of failure.) The point is that mistakes are normal, common, and even advantageous at times, as long as you get over them and recover. That’s what this chapter is all about — helping you recover from mistakes.

MATLAB can’t talk to you directly, so it communicates through error messages. Part of the problem is that MATLAB and humans speak two different languages, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required