I'm trying to create a standalone executable in c++ using the octave libraries ( http://www.gnu.org/software/octave/doc/interpreter/Standalone-Programs.html#Standalone-Programs ). I've been following this process: How do I create a simple Octave distributable without installing Octave .
My problem- When I use my own script in feval, I get "error: feval: function 'my_m_file' not found."
How do I get feval to find my script? It is currently in the same directory as my executable. Thanks,
Melissa
You can use octave::feval()
. I recently had this problem in version 6.1.0 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.