“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ApplicationException: MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.源错误:
行 80: MWNumericArray aPrice = (MWNumericArray)faPrice;
行 81: ShortTerm.ShortTermclass st1 = new ShortTermclass();
行 82: MWArray[] a1 = st1.ModelTraining(2, aPrice, fGoal, iSpread, iParticleNumber, iTestLen);
行 83: lbTrainErr.Text = a1[0].ToString();
行 84: lbTestErr.Text = a1[1].ToString();
源文件: d:\cbmis\modules\Prediction\ShortTermTrainning.aspx.cs 行: 82 堆栈跟踪:
[ApplicationException: MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.]
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn) +991
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn) +75
ShortTerm.ShortTermclass.ModelTraining(Int32 numArgsOut, MWArray vol, MWArray Goal, MWArray Spread, MWArray ParticleNumber, MWArray s) +123
modules_Prediction_ShortTermTrainning.btnTrain_Click(Object sender, EventArgs e) in d:\cbmis\modules\Prediction\ShortTermTrainning.aspx.cs:82
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
--------------------------------------------------------------------------------MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ApplicationException: MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.源错误:
行 80: MWNumericArray aPrice = (MWNumericArray)faPrice;
行 81: ShortTerm.ShortTermclass st1 = new ShortTermclass();
行 82: MWArray[] a1 = st1.ModelTraining(2, aPrice, fGoal, iSpread, iParticleNumber, iTestLen);
行 83: lbTrainErr.Text = a1[0].ToString();
行 84: lbTestErr.Text = a1[1].ToString();
源文件: d:\cbmis\modules\Prediction\ShortTermTrainning.aspx.cs 行: 82 堆栈跟踪:
[ApplicationException: MWMCR::EvaluateFunction error: Error using ==> save
Unable to write file FittedCurve.mat: permission denied.Error in =>ModelTraining.m at 48.]
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn) +991
MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn) +75
ShortTerm.ShortTermclass.ModelTraining(Int32 numArgsOut, MWArray vol, MWArray Goal, MWArray Spread, MWArray ParticleNumber, MWArray s) +123
modules_Prediction_ShortTermTrainning.btnTrain_Click(Object sender, EventArgs e) in d:\cbmis\modules\Prediction\ShortTermTrainning.aspx.cs:82
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货