matlab转java文件后,在java端访问报了个错如下:
{??? Error using ==> boiler_process at 134
X must be a matrix or a row cell array
Error in ==> mapminmax at 71
Error in ==> predic
tion at 16
}
... Matlab M-code Stack Trace ...
file C:UsersADMINI~1AppDataLocalTempAdministratormcrCache7.13MJ1_C10 oolbox
net
nutilsoiler_process.m,name boiler_process,line at 134.
file C:UsersADMINI~1AppDataLocalTempAdministratormcrCache7.13MJ1_C10 oolbox
net
net
nprocessmapminmax.m,name mapminmax,line at 71.
file C:UsersADMINI~1AppDataLocalTempAdministratormcrCache7.13MJ1_C10UsersAdministratorDesktopprediction_functionprediction.m,name prediction,line at 16.
com.mathworks.toolbox.javabuilder.MWException: Error using ==> boiler_process at 134
X must be a matrix or a row cell array
Error in =>prediction.m at 16
at com.mathworks.toolbox.javabuilder.internal.MWMCR.mclFeval(Native Method)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.access$600(MWMCR.java:23)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$6.mclFeval(MWMCR.java:916)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$5.invoke(MWMCR.java:814)
at $Proxy0.mclFeval(Unknown Source)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.invoke(MWMCR.java:490)
at MJ1.myadd.prediction(myadd.java:502)
at com.hb.spr.test.JavaTestMatlab.main(JavaTestMatlab.java:21)
不知是何意思?对matlab不熟,懂的大牛帮忙看一下。我java在跑matlab的a和b的加法运算是可以成功,现在这个错是java跑matlab另一个精密算法时出现的。先谢谢了
一周热门 更多>