Analoginput for Mac or Linux

Hi i did a program in Windows and i have the function:
ai = analoginput('winsound');
and all is oki!!
But now i begint to use mac or linux and this function is not working.. Why?? and there is another one that i can used for get a signal from Sound card?? thanks!

 Accepted Answer

The analoginput function is from the Data Acquisition toolbox. This is a windows only toolbox (you can contact support and ask for them to consider adding it to Linux and Max). Depending what you do with your ai object you might be able to use audiorecorder:
doc audiorecorder

More Answers (1)

tomas Escudero
tomas Escudero on 23 Nov 2011
My program is getting audio online all time.. so i need this function. booh.. this is not good.. thanks Daniel!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!