Octave:无法识别已加载的包裹

时间:2018-04-06 13:57:38

标签: octave

我已经通过image安装了包pkg install -forge image并且发出了大量警告(我正在使用 clang 作为C编译器,是的,我知道......)它已经完成了安装。

然后我用普通pkg load image加载了包,Octave没有抱怨。但是当我键入help viscircles以获得有关函数的帮助时,Octave表现得像没有包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.

现在我执行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.

有意思......我再次加载了包和同样的问题。我也手动下载了包并重新安装了它,同样的问题。

是的,我有Octave 4.0.2,图像2.6.2的要求是版本4.0.0 +。

1 个答案:

答案 0 :(得分:4)

函数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.

表示该函数不是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.

告诉你这个问题。函数viscircles未在该版本的软件包上实现。

您可以通过75df28049249从图像包的mercurial存储库中获取它。不确定它是否适用于Octave 4.0。

相关问题