AssignFHandle:

Path: Common/General

% Assign either a string or function handle depending on the MATLAB version.
   The function must exist as an independent file.
--------------------------------------------------------------------------
   Form:
   f = AssignFHandle( fName )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   fName        (:)    String name of a function

   -------
   Outputs
   -------
   f            (:)    String name or function handle for versions above 5.2

--------------------------------------------------------------------------

Children:

Common: General/IsVersionAfter
Common: General/StringToTokens

Back to the Common Module page