The way to implement this method is easy, just to insert a line of code in your matlab script. To even simplify the triggering job, I wrote a function here to share: trigger.m. So you basically only need to input the triggers you want to send into the trigger.m function. For example, trigger(1); trigger(2).
Read more and get all the source code at:
http://jianchen.info/send-triggers-via- ... pp-ppmexc/
Hope this is useful.
