이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
There is an assumption made in the DAQ Toolbox that input and output devices are in the same order.
If you have more than one playback/recording device available in the windows multimedia settings in control panel, and you change the order, you will have a problem if the two lists do not match.
The Data Aquisition toolbox assumes the outputs are the same as the inputs.
Try selecting different preferred devices for playback and recording in multimedia settings.
Now try the following:
info = daqhwinfo('winsound')
info.BoardNames'
info.InstalledBoardIds'
ai = analoginput('winsound',0)
ao = analogoutput('winsound',0)
Notice that although you appear to have selected the same device for both input and output, if you look at the summary reports, they are different.
There's the problem. It will happen whenever the two lists in Multimedia settings for preferred playback/recording device are different.
WINSOUNDHWINFO is a function that will return separate lists of the actual input and output devices available along with the correct boardIDs. I have also included the constructors so that it returns the same info as daqhwinfo.
This function also returns the original daqhwinfo fields for compatibility.
인용 양식
Richard Medlock (2026). Fix for DAQHWINFO (https://kr.mathworks.com/matlabcentral/fileexchange/3261-fix-for-daqhwinfo), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 |
