Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

filterBlockAll

Configure filter to block CAN messages with specified identifier type

Syntax

filterBlockAll(canch,type)

Description

example

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

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

Introduced in R2011b

Was this topic helpful?