我已经image通过pkg install -forge image并在大量警告之后安装了软件包(我使用clang作为 C 编译器,是的,我知道......)它完成了安装。
然后我用普通装了包,pkg load image八度没有抱怨。但是当我输入help viscircles以获得该函数的一些帮助时,Octave 表现得好像没有 package 一样image,这意味着它返回了
>> help viscircles
error: help: the 'viscircles' function belongs to the image package
from Octave Forge but has not yet been implemented.
Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
Run Code Online (Sandbox Code Playgroud)
现在我执行了pkg list查看是否确实安装并加载了包,是的,它是(image包旁边有一个星号,表示已加载某个包)。
我决定卸载所有包裹,所以我做到了。现在,在image再次加载之前,我help viscircles再次执行,但这次我得到了下一个错误:
>> help viscircles
error: help: the 'viscircles' function belongs to the image package
from Octave Forge which you have installed but not loaded. To load the
package, run 'pkg load image' from the Octave prompt.
Run Code Online (Sandbox Code Playgroud)
有趣......我再次加载了包,和以前一样的问题。我也手动下载了软件包并重新安装了它,同样的问题。
是的,我有 Octave 4.0.2,图像 2.6.2 的要求是 4.0.0+ 版本。
该功能viscircles仅适用于映像包的开发版本。它不是您安装的当前版本 2.6.2 的一部分。
错误信息:
>> help viscircles
error: help: the 'viscircles' function belongs to the image package
from Octave Forge which you have installed but not loaded. To load the
package, run 'pkg load image' from the Octave prompt.
Run Code Online (Sandbox Code Playgroud)
意味着该函数不是 Octave 的一部分,如果它存在,它将在图像包中。这并不意味着图像包实际上会拥有它,只是它属于它。加载包后得到的错误信息:
>> help viscircles
error: help: the 'viscircles' function belongs to the image package
from Octave Forge but has not yet been implemented.
Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
Run Code Online (Sandbox Code Playgroud)
告诉你这个问题。该功能viscircles未在该版本的包上实现。
您可以从图像包的 mercurial 存储库中获取它,但地址为75df28049249。不过不确定它是否适用于 Octave 4.0。