help-octave
[Top][All Lists]
Advanced

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

Finding functions,


From: Muthiah Annamalai
Subject: Finding functions,
Date: Tue, 2 Aug 2005 12:58:50 -0700 (PDT)

Hello there!
I want to find if a function [by name ] is loaded
into octave interpreter. How do I do it from C++ code?

I use:

    octave_fcn_handle h(func_name);
     if(!h.is_defined())
      {
           //do sth
      }
     else
      {
           //do sth
      }

But it doesnt seem to work, [compiles fine though].
Thanks in advance,

Cheers
Muthu


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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