马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我按照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. |