[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie: check if variable is a function handle
From: |
Jaroslav Hajek |
Subject: |
Re: newbie: check if variable is a function handle |
Date: |
Thu, 6 May 2010 13:57:21 +0200 |
On Thu, May 6, 2010 at 1:55 PM, Alex Colunar <address@hidden> wrote:
>
> Hello,
>
> I would like to know how to determine whether a given variable holds a
> function handle.
>
> I have noticed that Octave contains plethora of functions for determining if
> a variable is of given type, but I cannot find one for function handles.
>
isa (h, "function_handle")
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz