j1939Ch = j1939Channel(database,'vendor','device') creates
a J1939 channel connected to the specified CAN device. Use this syntax
for National Instruments™ and PEAK-System devices, which do not
require a channel index argument.
j1939Ch = j1939Channel(database,'vendor','device',chanIndex) creates
a J1939 CAN channel connected to the specified CAN device and channel
index. Use this syntax for Vector and Kvaser devices that support
a channel index specifier.
Name of device vendor, specified as a character vector or string.
Example: 'Vector'
Data Types: char | string
Name of CAN device attached to the J1939 CAN channel, specified as a character vector or
string.
For Kvaser and Vector products, device is
a combination of the device type and a device index. For example,
a Kvaser device might be 'USBcanProfessional
1'; if you have two Vector CANcardXL devices, device can
be 'CANcardXL 1' or 'CANcardXL 2'.
For National Instruments devices the devicenumber
is the interface number defined in the NI Measurement & Automation
Explorer.
For PEAK-System devices the devicenumber is
the alphanumeric device number defined for the channel.
Example: 'Virtual 1'
Data Types: char | string
Channel number of the CAN device attached to the J1939 CAN channel,
specified as a numeric value. Use this argument with Kvaser and Vector
devices.
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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.