fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on May 3, 2018 11:25:33 GMT
FWIW, I have made a plugin for communicating and exchanging data between AmiBroker and MATLAB. Main purposes: 1. Execute MATLAB code from within AFL editor. 2. Pass/retrieve 1-dim and 2-dim arrays to/from MATLAB. 3. Write to, read from, remove and explore data of MAT-files (MATLAB workspace). (BTW, via MAT-files one can also exchange data between AB and Octave, R, Python,... So not just MATLAB.) 4. some other features..Below is updated list of functions. Further info available via mail address: Later in the following posts I will show examples of what can be done specifically... List of available functions:
|
|
forx
First Poster
Posts: 1
|
Post by forx on Dec 29, 2019 16:07:05 GMT
Hi Fxshrat
Any news on this very interesting subject?
Thanks
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Jan 4, 2020 16:13:32 GMT
Hi Fxshrat Any news on this very interesting subject? Thanks Not sure which news you mean but as been said in first post it works already. And further info available via mail address. Also I have added functions MATLABIsNumeric(), MATLABIsComplex(), MATLABGetSize() and MATLABSetNum(). See updated function list in 1st post. If you look for additional functionality from MATLAB API then let me know.
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Jan 4, 2020 17:11:16 GMT
Here is basic example of communication via AB and MATLAB Left side AmiBroker, right side MATLAB engine + figures Sending/retrieving data in realtime (both sides) Accessing (any) sent data by AB in MATLAB
|
|
fxshrat
Private Group
Posts: 566
Received Likes: 211
|
Post by fxshrat on Jan 4, 2020 17:37:23 GMT
Two basic example interchanging multi-dim arrays. Some small matrix containing AB NULL -> converted to MATLAB NaN Price/indicator data of visible chart range sent to MATLAB as matrix type
|
|