考虑以下命令:
javaaddpath('weka-latest.jar');
import weka.core.FastVector当我在Windows (MATLAB R2014a)中运行上面的代码时,它工作得很好。但在linux(MATLAB7.12.0 7.12.0或R2011a)中,我得到了以下错误:
??? Error using ==> import
Import argument 'weka.core.FastVector' cannot be found or cannot be imported.你知道如何调试这个问题吗?
PS。jar文件位于以下链接中:https://www.dropbox.com/s/k4io5sh27rqns7q/weka-latest.jar?dl=0
发布于 2015-03-19 23:38:46
这是MATLAB版本问题。在我的linux机器上安装MATLAB 2014b之后,一切都运行得很好。
https://stackoverflow.com/questions/29136233
复制相似问题