canFDChannelList

Information on available CAN FD device channels

Description

example

chans = canFDChannelList returns a table of information about available CAN FD devices.

Examples

collapse all

View available CAN FD device channels and programmatically read supported protocol modes.

chans = canFDChannelList
chans =

  2×6 table

      Vendor         Device       Channel    DeviceModel    ProtocolMode     SerialNumber
    ___________    ___________    _______    ___________    _____________    ____________

    "MathWorks"    "Virtual 1"       1        "Virtual"     "CAN, CAN FD"        "0"     
    "MathWorks"    "Virtual 1"       2        "Virtual"     "CAN, CAN FD"        "0"
pm = chans{2,5}
pm = 

    "CAN, CAN FD"
pm = chans{2,'ProtocolMode'}
pm = 

    "CAN, CAN FD"

Output Arguments

collapse all

Information on available CAN FD device channels, returned as a table. To access specific elements, you can index into the table.

See Also

Functions

Introduced in R2018b