Re: [psychtoolbox] USB Ports and Serial.mex

>I'm presently running the psychToolbox via matlab, on a G4 (OS 9).
>I'd
>like to know whether I can use the serial.mex to send a pulse thru a
>USB port. At first, I thought this was not possible, but I've noticed
>that when I execute a statement such as
>
>portA=serial('Open', '.Ain', '.Aout', 9600)
>or
>portB=serial('Open', '.Bin', '.Bout', 9600)
>
>I receive a memory address. This makes me think that serial.mex can
>operate on the USB-based G4's. Any info you can provide about how
>serial.mex communicates with USB ports on the G4 would be greatly
>appreciated.

dear nestor

SERIAL.mex uses the serial drivers. I don't know anything about how the
Mac does USB communication. If the USB devices register as serial drivers
then I suppose SERIAL.mex would work.

What happens when you run SerialTest? If the USB devices do install
serial drivers then I'd expect them to have appropriately suggestive
names.

best

denis