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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.