Would somebody please tell me whether the values are the same or not?Transition code from Session to DataAcquisition Interface

1 view (last 30 days)
%Would somebody please tell me whether the values are the same or not?
%Old version
d=daqlist; % Find supported hardware available to your system.
d
s=daq.createSession(d.VendorID); % Create analog input object
%New version
d=daqlist; % Find supported hardware available to your system.
d
s=daq(d.VendorID)% Create analog input object

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 30 Sep 2021
The vals should be the same.

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!