MATLAB Answers

Data acquisition (Analog Input)

18 ビュー (過去 30 日間)
Chan
Chan 2011 年 9 月 11 日
Anyone got idea what wrong with this coding?
%%Step 1: Create an analog input object to communicate with data acquisition device
% In this case, a Windows sound card is used ('winsound').
ai = analoginput('winsound');
addchannel(ai,1);
Here is the error :
??? Undefined function or method 'analoginput' for input arguments of type 'char'.
Error in ==> sound_acquisition at 15
ai = analoginput('winsound');
Is that my matlab missing of data acquisition toolbox?
Thanks in advance!

採用された回答

Grzegorz Knor
Grzegorz Knor 2011 年 9 月 11 日
Probably yes. Type ver in command window. It displays info about your Matlab products.
ver daq
  1 件のコメント
Chan
Chan 2011 年 9 月 11 日
thank you so much! you're right my matlab version is missing the data acquisition toolbox =) your help is appreciated!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by