Main Content

filterBlockAll

Configure filter to block CAN messages with specified identifier type

Description

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

example

Examples

collapse all

Block all standard ID message types.

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

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

Version History

Introduced in R2011b