Realtime Doubt

 
Can anyone explain me in more detail than in articles about matlab, as I can do the following ?: 

"1- Download OHCL matlab data in real time." 
"2 Generate response in metatrader platform." 

Articles do not understand well. 
Any suggestions would help me a lot. 
Thank you very much.