Is there a function similar to 'rehash' for Data acquisition toolbox?

1 回表示 (過去 30 日間)
Eric Keller
Eric Keller 2012 年 12 月 19 日
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?

採用された回答

Walter Roberson
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 件)

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by