Tools for integration of MATLAB algorithms with Ziggy. The MatlabErrorReturn and MatlabStack classes define a format for error messages and stack traces emanating from an algorithm process. All algorithm errors must produce a stack trace HDF5 file formatted to match these classes.