Hi all, I have built a project on vs 2010 for matlab 2011A under win7 x32. Checked the library dependsom. no errors, function names are normal. In general, nothing foreshadowed problems, but when you start the mt gives an error that can not start matlab engine.Where to dig?
First of all, why is the article for x32, when everyone already has x64?
Boreland dlls are available only in the ancient version of Matlab, in studio under x64 Nothing compiles even if everything is set up in studio for x64 Matlab libraries. Metatrader folder with scripts is not in MT folder, but somewhere. Without Boryland x32 libraries nothing compiles, i.e. with x64 libraries - x.
The sources from the article post don't work even if you just copy-paste them into the MT folder, which is located somewhere. and don't compile anything yourself, it looks like this:
Good day) I have another problem - for some reason the "Borland" catalogue is not found in the <MATLAB>\extern\lib\win32\ folder, although Borland C++ Builder 6 is installed. Accordingly, the files libeng.lib and libmx.lib cannot be connected to the project either. The command "implib libeng.lib libeng.lib libeng.dll" Far gives the following:
)
And the Borland folder was not there and still is not... Can anyone tell me how to deal with this problem? Or at least these two files?:-)
there is a compiled one for free(write in private for x64) but there is a so-called dll hall when a bunch of dlls are not found... recompiled matlab dll for x64 with stdcall the article of another https://www.mql5.com/en/articles/1567 author on this topic is much better... in this article nothing about possible bugs is written at all and there is no screenshot that something the author has run....
The article contains considerations regarding creation of a DLL library - wrapper that will enable the interaction of MetaTrader 4 and the MATLAB mathematical desktop package. It describes "pitfalls" and ways to overcome them. The article is intended for prepared C/C++ programmers that use the Borland C++ Builder 6 compiler.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
In addition, some dll-libraries were missing. Check through "depends.exe" what is missing for launching.
Yes, I already wrote that I tried it, after that it gave me 127 error instead of 126, but thanks anyway).
Now somehow miraculously everything worked. I will find out what was wrong. And then I will finally do neural networks).
And if when running the script in the log
"2013.11.13 16:49:28 Scripts script TestMLEngine(EURUSD,H1) removed
2013.11.13 16:49:28 Scripts script TestMLEngine (EURUSD,H1) loaded successfully".
and that's all... what could be the problem?
This article is such guano.
First of all, why is the article for x32, when everyone already has x64?
Boreland dlls are available only in the ancient version of Matlab, in studio under x64 Nothing compiles even if everything is set up in studio for x64 Matlab libraries. Metatrader folder with scripts is not in MT folder, but somewhere. Without Boryland x32 libraries nothing compiles, i.e. with x64 libraries - x.
The sources from the article post don't work even if you just copy-paste them into the MT folder, which is located somewhere. and don't compile anything yourself, it looks like this:
FO 0 16:30:22.029 Scripts script TestMLEngine (GBPUSD,H1) loaded successfully
LQ 2 16:30:22.047 Scripts initializing of TestMLEngine (GBPUSD,H1) failed
NG 0 16:30:22.047 Scripts script TestMLEngine (GBPUSD,H1) removed
And if when running the script in the log
"2013.11.13 16:49:28 Scripts script TestMLEngine (EURUSD,H1) removed
2013.11.13 16:49:28 Scripts script TestMLEngine (EURUSD,H1) loaded successfully".
and that's all... what could be the problem?
same nonsense
Many recommend to run MT as administrator, install only x32 everything - from MT to Matlab.
Good day) I have another problem - for some reason the "Borland" catalogue is not found in the <MATLAB>\extern\lib\win32\ folder, although Borland C++ Builder 6 is installed. Accordingly, the files libeng.lib and libmx.lib cannot be connected to the project either. The command "implib libeng.lib libeng.lib libeng.dll" Far gives the following:
)
And the Borland folder was not there and still is not... Can anyone tell me how to deal with this problem? Or at least these two files?:-)
This guano is available only in 2007 Lab version X32 !!!!
Hello,
Has anyone got 3.1 Developing Universal Library of MetaTrader 5 & MATLAB Engine Interaction works with Strategy Tester?
It works with standard expert advisor, but not with strategy tester. Can anybody point me where I may have done it wrong?
Will this work also for MT4 ??? Or it is exclusively setup for MT5 ??
Krzysztof