Is there a function similar to 'rehash' for Data acquisition toolbox?
조회 수: 1 (최근 30일)
이전 댓글 표시
Using the data acquisition toolbox session based architecture, the list of devices is stale until you restart matlab. I was looking through the documentation and didn't see a function that forces matlab to check to see if you had added/removed a data acquisition device. daq.getDevices fails to show a newly added device.
Also, is there a function that checks to see if there are any stray sessions left in memory?
댓글 수: 0
채택된 답변
Walter Roberson
2012년 12월 20일
You could try
instrreset
daqreset
If those do not work for you, then NO, restarting MATLAB is the only documented solution.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!