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 output in MT4 from the function should be a 1x8 array. the above code doesn't work. Can anybody tell me what is the correct code of importing the dll for the function? Thanks