Documentation Center

  • Trials
  • Product Updates

messageInfo

Information about CAN messages

Syntax

msgInfo = messageInfo(candb)
msgInfo = messageInfo(candb, 'msgName')
msgInfo = messageInfo(candb, id, extended)

Description

msgInfo = messageInfo(candb) returns information about CAN messages in the specified database candb.

msgInfo = messageInfo(candb, 'msgName') returns information about the specified message 'msgName' in the specified database candb.

msgInfo = messageInfo(candb, id, extended) returns information about the message with the specified standard or extended ID in the specified database candb.

Input Arguments

candb

The database containing the CAN messages that you want information about.

msgName

The name of the message you want information about.

id

The numeric identifier of the specified message.

extended

Indicates whether the message ID is in standard or extended type. The Boolean value is true if extended and false if standard.

Output Arguments

msgInfo

Handle for the returned CAN messages in the specified database.

Examples

candb = canDatabase('c:\Database.dbc')
msgInfo = messageInfo(candb)
msgInfo = messageInfo(candb, 'msgName')
msgInfo = messageInfo(candb, 500, false)

See Also

| |

Was this topic helpful?