Onyinye,
I performed a search on The MathWorks' web site regarding your issue. First, make sure that you have the correct driver, NI-DAQ 6.9.3, installed on your machine. Then, launch the test panels in the Measurement & Automation Explorer (MAX) to verify operation of the board.
After you have verified the board is working, check the following in your code. To create a device object for an NI DAQ board, use this code:
AI = analoginput('nidaq',#);
where # is the device number - as listed in MAX.
For your channels, use:
ch = addchannel(AI,0); for single channel
ch = addchannel(AI,0:2); for multiple channels (in this case 3 channels)
Remember that DAQ channels for NI boards are indexed from 0.
If you need additional Data Acquisitio
n Toolbox programming assistance, refer ot the toolbox manual on The MathWorks' web site.
Have a great day.