Home > atmlab > math > isfunction_handle.m

isfunction_handle

PURPOSE ^

ISFUNCTION_HANDLE True for a function handle.

SYNOPSIS ^

function bool = isfunction_handle( a )

DESCRIPTION ^

 ISFUNCTION_HANDLE   True for a function handle.

    Determines if a variable is a (single) function handle

 FORMAT   bool = isfunction_handle(a)
        
 OUT   bool   true if function handle, else false.
 IN    a      A variable of any data type.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

isfunction_handle.m

SOURCE CODE ^

0001 % ISFUNCTION_HANDLE   True for a function handle.
0002 %
0003 %    Determines if a variable is a (single) function handle
0004 %
0005 % FORMAT   bool = isfunction_handle(a)
0006 %
0007 % OUT   bool   true if function handle, else false.
0008 % IN    a      A variable of any data type.
0009 
0010 % 2010-01-03  Created by Patrick Eriksson.
0011 
0012 
0013 function bool = isfunction_handle( a )
0014 
0015 bool = isa( a, 'function_handle' );
0016 
0017

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005