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
endend
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.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.