C# MWMCR::EvaluateFunction error undefined function 'splinelev' for input arguments of type 'double'
이전 댓글 표시
I have created a .dll package in Matlab 2012a,the m file as follow:
function z = curveFitFunc(x,y,d)
xx = [min(x):d:max(x)];
opts = fitoptions('mtthod','smoothing');
ffunc = fittype('smoothingspline');
f = fit(x',y',ffunc,opts);
z = feval(f,xx)';
end
1.and open the deployment tool window: deploytool
2.build the .net component.
3.write source code for a C# application
I use visual studio 2010
4.build and run the application in visual studio .NET
the error is :
MWMCR::EvaluateFunction error
undefined function 'splinelev' for input arguments of type 'double'
the 'splinelev' is the MEX file in MATLAB at
'R2012a/toolbox/curvefit/curvefit/private/splinelev.mexw64'
I don't know how to solve the error, anyone can help me? thanks a lot!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 .NET Methods in MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!