MATLAB Recipes pp 117-136 | Cite as

Testing and Debugging

  • Michael Paluszek
  • Stephanie Thomas


The MATLAB unit test framework now allows you to incorporate testing into your MATLAB software, just as you would your C++ or Java packages. Since entire textbooks have been written on testing methodologies, this chapter is limited to covering the mechanics of using the test framework itself. We also present a couple of recipes that are useful for debugging.


Test Suite Equilateral Triangle Unit Test Command Line Test Framework 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (6 kb)
Ch05-Debugging (ZIP 6 KB)

Copyright information

© Apress 2015

Authors and Affiliations

  • Michael Paluszek
    • 1
  • Stephanie Thomas
    • 2
  1. 1.PrincetonUSA
  2. 2.Princeton JunctionUSA

Personalised recommendations