Main Content


(Not recommended) Display available vendors



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

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


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')
ans =



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.

Version History

Introduced in R2010b

collapse all

R2020a: daq.getVendors is not recommended

Use of this function not recommended. Use daqvendorlist instead.

For more information about using the recommended functionality, see Transition Your Code from Session to DataAcquisition Interface.