This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Information on available CAN FD device channels


chans = canFDChannelList



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


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


Introduced in R2018b