daqread function is deprecated

1 vue (au cours des 30 derniers jours)
xiaoyu fu
xiaoyu fu le 2 Fév 2019
Commenté : Walter Roberson le 6 Fév 2019
My Matlab R2018a can't read daq,it said the function is deprecated.
  1 commentaire
Walter Roberson
Walter Roberson le 2 Fév 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?

Connectez-vous pour commenter.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by