Форум

My EA can not call function from Matlab -- error 127 What is the problem?

I got the dll using mcc command in Matlab, but I import the dll in my EA, it can not call the Matlab function , Anybody pls help. thanks

Pls help me with import dll, thanks

Hi, I have compiled my matlab function into dll. In the EA, I put in the following code: #import "MLfun01.dll" double GetArrayItemValue(double ML_Signal[]); ML_Signal[8] = MLfun01(string CP, string dataCL,double arr[8],string OTM); #import the output of the Matlab function is a 1x8 vector, so the