hucheng 发表于 2007-7-21 17:40

烦请高手指教javabuilder的错误

我按照matlab builder for java里面的示例操作,但是新建工程时,如果工程保存的路径和.m代码的路径不一致,就会出现下面的错误。
如果路径一致,就能操作成功。请问有人知道出现这个错误的原因吗?
已经摸索很久,但是始终找不到解决办法,谢谢各位了!!


mcc -W java:factormatrix,factor -d F:\matlabspace\factormatrix\src -T link:lib -v class{factor:C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\cholesky.m,C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\ludecomp.m,C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\qrdecomp.m}
mcc -W java:factormatrix,factor -d F:\matlabspace\factormatrix\src -T link:lib -v class{factor:C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\cholesky.m,C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\ludecomp.m,C:\MATLAB2007\toolbox\javabuilder\Examples\MatrixMathExample\MatrixMathDemoComp\qrdecomp.m}
Compiler version: 4.6 (R2007a)
??? Unable to locate cholesky.m as a function on the MATLAB path

Depfun error: 'Unable to locate cholesky.m as a function on the MATLAB path'
??? Error executing mcc, return status = 1.

There were errors during compilation process.
页: [1]
查看完整版本: 烦请高手指教javabuilder的错误