I've tried CedrusResponseBox.m and cedrusxid.m (from this forum) with no luck. I tried downloading Cogent2000 but it isn't compatible with MatLab 7.5 yet.
I got quite close with opening and closing the box with CedusResponseBox.m but line 452
is suppose to generate a single number but for me generated this matrix:
where bytes = 8.
Thanks in advance for any ideas.