octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testing for function handles


From: Dr. Alexander Klein
Subject: Testing for function handles
Date: Wed, 9 Nov 2011 09:18:43 +0100

Good morning,

is there any preferred way to check whether a given parameter or variable 
contains a function handle?

I find myself strcmp'ing the result of typeinfo quite often, but this is really 
clumsy. Then again, ishandle only checks for graphics handles ...

Best regards,

        Alex

-- 
          Dr. Alexander Klein, Diplom-Mathematiker

Physiologisches Institut       |               TransMIT Zentrum
Raum 543                       |        für Numerische Methoden
Aulweg 129                     |          Heinrich-Buff-Ring 44
35392 Giessen                  |                  35392 Giessen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]