Stimulation Setting in Matlab Script
Posted: Wed Jul 03, 2013 2:53 pm
Hi, I have read the tutorials about the matlab script box ,but I have one question:how to set the time point when the stimulation is sent. What is the meaning of arguments of the function :
stim_set = [stimulation; box_in.clock; 0];
box_in=OV_addOutputBuffer(box_in,2,start_time,end_time,stim_set);?
For example ,I have a signal buffer to send whose samples_per_buffer is 15,and I want to send the stimulation with the second sample in the buffer,what should I do?
Thanks ,
Shelldream
stim_set = [stimulation; box_in.clock; 0];
box_in=OV_addOutputBuffer(box_in,2,start_time,end_time,stim_set);?
For example ,I have a signal buffer to send whose samples_per_buffer is 15,and I want to send the stimulation with the second sample in the buffer,what should I do?
Thanks ,
Shelldream