[英]Octave feval: function not found
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 ).我正在尝试使用 Octave 库( http://www.gnu.org/software/octave/doc/interpreter/Standalone-Programs.html#Standalone-Programs )在 C++ 中创建一个独立的可执行文件。 I've been following this process: How do I create a simple Octave distributable without installing Octave .
我一直在关注这个过程: 如何在不安装 Octave 的情况下创建一个简单的 Octave 可分发文件。
My problem- When I use my own script in feval, I get "error: feval: function 'my_m_file' not found."我的问题 - 当我在 feval 中使用自己的脚本时,出现“错误:feval:找不到函数‘my_m_file’。”
How do I get feval to find my script?我如何让 feval 找到我的脚本? It is currently in the same directory as my executable.
它目前与我的可执行文件位于同一目录中。 Thanks,
谢谢,
Melissa梅丽莎
You can use octave::feval()
.您可以使用
octave::feval()
。 I recently had this problem in version 6.1.0 .我最近在版本 6.1.0 中遇到了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.