From octave-maintainers-request at bevo dot che dot wisc dot edu Mon Mar 25 10:40:27 2002 Subject: calling .m function from oct From: Andy Jacobson To: octave-maintainers at bevo dot che dot wisc dot edu Date: 25 Mar 2002 11:39:31 -0500 Howdy Folks, I've got some C++ code for optimization that used to compile into an oct file under Octave 2.0.16, but won't compile under Octave 2.1.x. The issue is that I want to call a user-specified M-file from within the C++ function. I used to declare a "tree_fvc" object which was initialized via a call to is_valid_function(), and then evaluated with a call to tree_fvc::eval(). So, could someone please tell me what the new and correct way to do this might be? I notice that the octave_function class doesn't appear to have an eval() method. Thanks in advance and standard apologies if this is the wrong list for such a question, Andy -- Andy Jacobson arj at gfdl dot gov Program in Atmospheric and Oceanic Sciences Sayre Hall, Forrestal Campus Princeton University PO Box CN710 Princeton, NJ 08544-0710 USA Tel: 609/258-5260 Fax: 609/258-2850