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, ...

Get MATLAB For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.