# Psychtoolbox, voltage input function

**URL:** <https://psychtoolbox.discourse.group/t/psychtoolbox-voltage-input-function/51>\
**Category:** Uncategorized\
**Created:** [September 4, 2018, 9:55pm UTC](https://psychtoolbox.discourse.group/t/psychtoolbox-voltage-input-function/51 "2018-09-04T21:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [September 4, 2018, 9:55pm UTC](https://psychtoolbox.discourse.group/t/psychtoolbox-voltage-input-function/51/1 "2018-09-04T21:55:54Z")

</div>

Hello,

I need to do a program in matlab which use numerical voltage input to move a ball. But I can`t find a function in Mathlab which read numerical voltage input. Someone can help me?

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [September 6, 2018, 12:36pm UTC](https://psychtoolbox.discourse.group/t/psychtoolbox-voltage-input-function/51/2 "2018-09-06T12:36:03Z")

</div>

For Measurement Computing MCC USB 1208FS and 1608FS we have the DAQ toolbox, which should work reasonably well on Linux or Windows if you follow the setup instructions, according to user feedback, not tested by myself in quite a while due to lack of hardware. Your mileage on current versions of Apples trainwreck is unknown.

  

help Daq

help DaqDeviceIndex

help DaqAIn  

  

DaqAIn is for "single sample at a time" acquisition. Functions like DaqAInScanBegin/Continue/End for higher volume / controlled frequency acquisition are supposed to work on Linux and Windows at least for the 1208FS, but almost certain to fail in various ways on macOS.

  

-mario

  

  

> On Wed, Sep 5, 2018 at 2:58 AM [chems.abdouli@...](mailto:chems.abdouli@...) [PSYCHTOOLBOX] \<[PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)\> wrote:  
> 
> > Hello,
> > 
> > I need to do a program in matlab which use numerical voltage input to move a ball. But I can`t find a function in Mathlab which read numerical voltage input. Someone can help me?
