Home > Net >  C # call MATLAB generated DLL, appear MWMCR: : EvaluateFunction error
C # call MATLAB generated DLL, appear MWMCR: : EvaluateFunction error

Time:11-12

I recently in the development of a desktop application, which require the use of c # call matlab to carry on the numerical calculation, according to the online method to generate DLL, and then call in c #, the start when the test using a simple m file, and number two is calculated, call right no problem, this time using a more complex m file generated DLL, has an error: MWMCR: : EvaluateFunction error undefined and 'double' type of input parameters corresponding to the function fir1 ',
Online have a similar mistake, but there is no clear solution, also please bosses, glad, picture is error screenshot

CodePudding user response:

I use a VS2019 matlab2014a MCR is installed

CodePudding user response:

https://blog.csdn.net/qq_30680871/article/details/90415296

CodePudding user response:

Why don't have to tell you, c # data types and Matlab data type conversion problem again, you didn't give other information,

CodePudding user response:

refer to the second floor of guiyang horse Ma Shanfu plugging waterproof engineering professional maintenance of swimming pool response:
https://blog.csdn.net/qq_30680871/article/details/90415296

I tried it on, according to the method in the link I can't
  •  Tags:  
  • C#
  • Related