canFDMessageBusType

Create Simulink CAN FD message bus

Syntax

canFDMessageBusType
canFDMessageBusType(modelName)

Description

example

canFDMessageBusType creates a Simulink® CAN FD message bus object named CAN_FD_MESSAGE_BUS in the base workspace. The values of the object properties are read-only, but useful for showing the structure of its data.

canFDMessageBusType(modelName) creates a Simulink CAN FD message bus object named CAN_FD_MESSAGE_BUS in the data dictionary associated with the specified model, modelName.

Examples

collapse all

Create and view the properties of a Simulink CAN FD message bus object.

canFDMessageBusType
CAN_FD_MESSAGE_BUS
CAN_FD_MESSAGE_BUS = 

  Bus with properties:

    Description: ''
      DataScope: 'Auto'
     HeaderFile: ''
      Alignment: -1
       Elements: [12×1 Simulink.BusElement]

View the Elements properties of the bus.

CAN_FD_MESSAGE_BUS.Elements
ans = 

  12×1 BusElement array with properties:

    Min
    Max
    DimensionsMode
    SampleTime
    Description
    Unit
    Name
    DataType
    Complexity
    Dimensions

Input Arguments

collapse all

Name of model, specified as a character vector or string, whose data dictionary is updated with the bus object.

Example: 'CANFDModel'

Data Types: char | string

Introduced in R2018a