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
- My EA can not call function from Matlab -- error 127 What is the problem?
- Compiling a Matlab program for MT4 (stuck on error 127)
- Интерполяция, аппроксимация и иже с ними (пакет alglib)
Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь