daqread function is deprecated

5 views (last 30 days)
xiaoyu fu
xiaoyu fu on 2 Feb 2019
Commented: Walter Roberson on 6 Feb 2019
My Matlab R2018a can't read daq,it said the function is deprecated.
  1 Comment
Walter Roberson
Walter Roberson on 2 Feb 2019
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?

Sign in to comment.

Answers (1)

Brian Hu
Brian Hu on 6 Feb 2019
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 Comment
Walter Roberson
Walter Roberson on 6 Feb 2019
True but irrelevant. daqread() is basic MATLAB
and has to do with reading stored .daq files, no matter how they were created.

Sign in to comment.

Categories

Find more on Digital Input and Output in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!