每次我启动curve fitting toolbox的时候,都会有这个错误报出来:
>> cftool
??? Error using ==> class
CLASS function used in incorrect context.
Error in ==> D:\tools\MATLAB6p5\toolbox\curvefit\cftoolgui\cftool.m
On line 156 ==> temp(2) = cftool.fit('disconnected');
而且当我试图使用这个toolbox,在Fitting的对话框里面点击New Fit的按钮时,什么反应都没有,而且在command window里面又报出一大堆问题:
??? Error using ==> class
CLASS function used in incorrect context.
Error in ==> D:\tools\MATLAB6p5\toolbox\curvefit\cftoolgui\cftoolgetudd.m
On line 16 ==> javaudd=java(eval(uddcmd));
java.lang.NullPointerException
at com.mathworks.toolbox.curvefit.FitsTable.addFit(FitsTable.java:534)
at com.mathworks.toolbox.curvefit.Fitting$NewFit.completed(Fitting.java:399)
at com.mathworks.jmi.Matlab$CompletionHandler.messageReceived(Matlab.java:2145)
at com.mathworks.mwt.message.MWLooper.dispatchMessage(MWLooper.java:394)
at com.mathworks.mwt.message.MWLooper.run(MWLooper.java:534)
at java.lang.Thread.run(Unknown Source)