【发布时间】:2011-12-29 01:00:36
【问题描述】:
package matlab;
import com.mathworks.toolbox.javabuilder.*;
import com.eigenface.Eigenface;
public class Test {
public static void main(String[] args) {
Eigenface core = null;
Object [] result = null;
try {
core = new Eigenface();
result = core.EigenFace(2);
System.out.println(result[0]);
} catch (MWException e) {
e.printStackTrace();
}
}
}
我在一个名为 Eigenface 的包装类中使用了一个 Matlab 函数。当我运行我的代码时,我得到了这个异常:{???使用 ==> EigenFace 时出错 输出参数过多。 } 。 由于该函数在 Matalab 中没有问题,有谁知道我为什么会得到这个异常?
【问题讨论】: