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.


Configure filter to block CAN messages with specified identifier type





filterBlockAll(canch,type) configures the CAN message filter to block all messages matching the specified identifier type.


collapse all

Block all standard ID message types.

canch = canChannel('Vector','CANCaseXL 1',1)

Input Arguments

collapse all

CAN device channel, specified as a CAN channel object, on which to filter.

Example: canch = canChannel('NI','CAN1')

Identifier type by which to filter, specified as a character vector or string. CAN messages identifier types are 'Standard' and 'Extended'.

Example: 'Standard'

Data Types: char | string

Introduced in R2011b