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)
Jang JrKai
Jang JrKai on 30 Sep 2021
%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

Community Treasure Hunt

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

Start Hunting!