Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Err package (see Error handling, viewing and Logging below)provides a very simple java based API for message logging suitable for Matlab. After making the appropriate entry in the JAVACLASSPATH so as to find the err.jar file, the following would issue a message to cmlog:

Code Block
title"Error logging in matlab"
err=Err.getInstance();
err.log("I got an error");

...