daqread function is deprecated

5 次查看(过去 30 天)
xiaoyu fu
xiaoyu fu 2019-2-2
My Matlab R2018a can't read daq,it said the function is deprecated.
  1 个评论
Walter Roberson
Walter Roberson 2019-2-2
I find no release notes mentioning daqread() at all, and it continues to be documented in r2018b. Are you certain that you have the correct function name?

请先登录,再进行评论。

回答(1 个)

Brian Hu
Brian Hu 2019-2-6
Starting from MATLAB version R2016a, the Data Acquisition Toolbox no longer supports Legacy Interface based commands. The current toolbox uses a Session Interface to communicate with data acquisition devices. Since daqread is a Legacy Interface command, its functionality is no longer supported in newer versions of MATLAB. The link below has more information on how to convert Legacy Interface to Session Interface code.
  1 个评论
Walter Roberson
Walter Roberson 2019-2-6
True but irrelevant. daqread() is basic MATLAB
and has to do with reading stored .daq files, no matter how they were created.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Digital Input and Output 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by