One of the goal is to be able to write error messages that include the class name on it. At the same time, to make the code as easy to maintain as possible, I don't want to hardcode the class name.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!