Code covered by the BSD License  

Highlights from
Direct Indexing of Function Calls (OOP Exercise)

  • S=LibraryStruct Returns a structure of IndexableFunction handles to all the methods of class @double.
  • S=add2lib(varargin) ADD2LIB - Add new IndexableFunction handles to the structure S held in LibraryStruct.mat
  • S=rmlib(varargin) RMLIB - Remove IndexableFunction handles from the struct S held in LibraryStruct.mat
  • varargout=initlib INITLIB - Returns a structure of IndexableFunction handles to all the methods of class @double.
  • IndexableFunction IndexableFunction - A class of function-handle-like objects allowing
  • flib FLIB- A class to make a library of IndexableFunction handles held in LibraryStruct.mat
  • View all files
from Direct Indexing of Function Calls (OOP Exercise) by Matt J
Pseudo- function handle which can both call a function and post-index the output in 1 expression.

All files for Direct Indexing of Function Calls (OOP Exercise)
/IndexableFunction.m
/LibraryStruct.m
/LibraryStruct.mat
/add2lib.m
/flib.m
/initlib.m
/license.txt
/rmlib.m

Contact us at files@mathworks.com