Hi,
seems like winsound is not available for you. Did you run this:
daqregister('winsound')
This is needed in order to use the winsound device. In the case you did that alread: What does this give:
out = daqhwinfo;
out.InstalledAdaptors
And also this:
daqhwinfo('winsound')
Are you using a laptop?