usb = serial('/dev/ttyUSB1','BaudRate',115200,'DataBits',8, 'StopBits', 1, 'Parity', 'none');
% The trigger interface is recognized by the PC as a serial Com-port.
% You can connect to the trigger interface with the following settings:
% Data Rate: 115200
% Data Bits: 8
% Stop Bits: 1
% Parity: none
% Flow Control: off
get(usb);
fopen(usb);
% start experiment
for ii=1:500 |
|