octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #62308] use of octave::feval causes error: fun


From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #62308] use of octave::feval causes error: function '...' not found
Date: Thu, 14 Apr 2022 03:25:35 -0400 (EDT)

Follow-up Comment #2, bug #62308 (project octave):

If I reduce the program to this:


#include <iostream>
#include <octave/oct.h>
#include <octave/octave.h>
#include <octave/parse.h>
#include <octave/interpreter.h>

int
main (void)
{
  // Create interpreter.

  octave::interpreter interpreter;

  // Don't load init (local or global) files
  interpreter.read_init_files (false);
  interpreter.read_site_files (false);

  octave::feval ("path");
  return 0;
}



it does find and execute the path function and outputs:


Octave's search path contains the following directories:

Segmentation fault



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62308>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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