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!