No BSD License  

Highlights from
functionsclass

from functionsclass by Mihai Moldovan
A class that exposes MATLAB subfunctions as public methods of the primary functions.

functionsclass( varargin )
function a = functionsclass( varargin )
% Constructor function for Functionsclass object
% 
% You can use it to access subfunctions like methods:
%
% f=functionsclass;
% argout=f.somefunction.somesubfunction(argin1, argin2, ...);
% argout=f.somefunction(argin1, argin2, ...);
%
% Note:
% Due to MATLAB object limitations it returns only one value
%
% (c) Mihai Moldovan 2002
% M.Moldovan@mfi.ku.dk



switch nargin
    
case 0
% if no input arguments, create a default object
    
    % create the property to hold the cache
    a.cache={}; 
    
    % create the class 
    a = class(a,'functionsclass');  

  
otherwise
       error('Too many input arguments...')
end

Contact us at files@mathworks.com