...
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 | ||
---|---|---|
| ||
err=Err.getInstance(); err.log("I got an error"); |
...