error: 'optimoptions' undefined near line 1, column 11 The 'optimoptions' function belongs to the optim package from Octave Forge, which you have installed but not loaded. Run 'pkg load optim' to use 'optimoptions'. Please read <https://www.octave.org/missing.html> to learn how you can contribute missing functionality. error: Invalid call to options. Correct usage is: -- Function File: OPT = options ('KEY1', VALUE1, 'KEY2', VALUE2, ...) Additional help for built-in functions and operators is available in the online version of the manual. Use the command 'doc <topic>' to search the manual index. Help and information about Octave is also available on the WWW at https://www.octave.org and via the help@octave.org mailing list. !!! OUT OF TIME !!!
时间: 2024-04-21 11:23:43 浏览: 264
cxl.rar_The Family
这个错误是因为你在使用 'optimoptions' 函数之前没有加载 optim 包。你可以尝试运行 'pkg load optim' 来加载该包。这样你就可以使用 'optimoptions' 函数了。如果你还需要更多帮助,可以参考 <https://www.octave.org/missing.html> 或者访问 https://www.octave.org 获取关于 Octave 的帮助和信息。
阅读全文