daq.getVendors

(Not recommended) Display available vendors

Description

example

daq.getVendors lists vendors available to your machine and MATLAB®.

vendor = daq.getVendors assigns the output list to the variable vendor.

Examples

collapse all

Get a list of all vendors available to your machine and MATLAB, and store it in the variable v.

v = daq.getVendors
v = 

Number of vendors: 5

index     ID      Operational           Comment          
----- ----------- ----------- ---------------------------
1     ni          true        National Instruments
2     adi         true        Analog Devices Inc.
3     directsound true        DirectSound
4     digilent    true        Digilent Inc.
5     mcc         true        Measurement Computing Corp.

Programmatically determine if 'adi' is an operational vendor.

for idx = 1:length(v)
    if strcmp(v(idx).ID,'adi')
        v(idx).IsOperational
    end
end
ans =

  logical

   1

Output Arguments

collapse all

Vendor list, returned as an array of VendorInfo objects. This represents the vendor information available to your system.

For a list of vendors currently supported by Data Acquisition Toolbox™, and instructions for installing necessary support packages, see Data Acquisition Toolbox Supported Hardware.

Compatibility Considerations

expand all

Not recommended starting in R2020a

Introduced in R2010b