c# matlab error

3 views (last 30 days)
Andreas
Andreas on 19 Sep 2011
Answered: Eslam El Maghraby on 27 Jan 2016
hello,
after upgrading to r2011b i'm experiencing problems with compiling a project with builder ne for c#.
the following is the error:
General Error during calculation. Exception: System.Exception:
... MWMCR::EvaluateFunction error ... An unknown error occurred while executing MATLAB code..
at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
at fore.foreclass.fore_pv(Int32 numArgsOut, MWArray B, MWArray BW, MWArray W, MWArray WM, MWArray ptimeseries)
at BusinessLogic.MatlabCalculation.UseFore(Array sourceDataArray, Array weatherStationArray, Array weatherForecastArray, Array weatherMeasurandArray, Array sourceMeasurandDataList, Double[,]& arrayPV, Double[,]& arrayWind)
at PrognosisService.ProgService.OnTickPrognosis(Object stateObject)
i checked the input/output arguments but i can't see a problem here.
what could be an idea to solve this?
greetings

Answers (1)

Eslam El Maghraby
Eslam El Maghraby on 27 Jan 2016
same error , Are you know the answer?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!