Code covered by the BSD License  

Highlights from
TexTab

image thumbnail

TexTab

by

 

05 Sep 2012 (Updated )

Create formatted tables and save them as a picture like png. Saving tex files is also possible.

Base
classdef Base < handle
    %Simple base class, intended as a replacement for the ZeisigGold.Base
    %class for published classes.
    methods (Access = protected)
        function error(obj,Id,varargin)
            try
                % Get the path for the error calling object and call errors.mat file.
                self = which(class(obj));
                load(fullfile(fileparts(fileparts(self)),'Metafiles','Errors.mat'));
                IdNo = strcmp(Id,Errors.Id);
                Message = sprintf(Errors.english{IdNo},varargin{:});
                M = MException(Id,Message);
            catch ME%#ok<*CTCH>
                error(Id,Id);
            end
            M.throwAsCaller;
        end
    end
end

Contact us