主要内容

Enhance filter

Enhanced filtering option

Since R2024b

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / On-board CAN properties

Description

Select this option to filter only the required data from a multi-identifier filter and provide only the ones you requested. Use this option to stop filtering frames from a multi-ID filter to store messages of IDs that were not requested to the queue.

For example, if you want to store IDs 0x1 and 0x5 into a mailbox, you will also receive 0x3 and 0x7 as two out of the three bits are different between both the IDs. If you select this option, the mailbox will store only the IDs you requested.

Dependencies

To enable this property, in the Configuration Parameters dialog box, set Hardware board to one of these boards.

  • Teensy 4.0 (Arduino Compatible)

  • Teensy 4.1 (Arduino Compatible)

Select either On-board CAN1 properties, On-board CAN2 properties, or On-board CAN3 properties, and then set Filter configuration to Manual.

Settings

off | on

The default for this parameter is off.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2024b