Skip to Main Content Skip to Search
Product Documentation

BusSpeed - Display speed of CAN bus

Description

The BusSpeed property determines the bit rate at which messages are transmitted. You can set BusSpeed to an acceptable bit rate using the configBusSpeed function.

Characteristics

Usage

CAN channel

Read only

Always

Data type

Numerical

Values

The default value is assigned by the vendor driver. To change the bus speed of your channel, use the configBusSpeed function and pass the channel name and the value as input parameters.

Examples

To change the current BusSpeed of the CAN channel object canch to 250000, type:

configBusSpeed(canch, 250000)

See Also

Functions

canChannel, configBusSpeed

Properties

NumOfSamples, SJW, TSEG1, TSEG2

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS