MatLab sending a TTL pulse

조회 수: 15 (최근 30일)
Avelino
Avelino 2012년 3월 1일
답변: chong jiao 2019년 12월 18일
Hello to everyone, I am designing a program for visual stimulation in MatLab (in one computer) and I am using other computer to record spikes from the Spike software. I wanted to know in which way is the easier to send a TTL pulse to the Spike software with the information on the time which stimulus has started. Which MatLab function(s) should I start to look for? And which is the most convenient way to make it, by USB output or by COM? Any advices of how to make it or how to look at the problem are really good. Thank you, Avelino

답변 (3개)

Walter Roberson
Walter Roberson 2012년 3월 1일
I think you should probably look at PsychtoolBox 3.
Serial ports and USB are both badly suited for sending TTL pulses (though if the only thing important about the pulse is the rising edge and not the length and the latency and frequency are not so important, you can hack it with a real serial port.)

Xin Niu
Xin Niu 2016년 4월 5일
this link provides some methods to send TTL on windows.
https://github.com/Psychtoolbox-3/Psychtoolbox-3/wiki/FAQ%3A-TTL-Triggers-in-Windows

chong jiao
chong jiao 2019년 12월 18일
Did you solve this problem?

카테고리

Help CenterFile Exchange에서 Timing and presenting 2D and 3D stimuli에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by