Documentation Center

  • Trial Software
  • Product Updates

get

Return property values

Syntax

out = get (obj)

Description

out = get (obj) returns the structure out, where each field name is the name of a property of the specified object and each field contains the value of that property.

Examples

expand all

Get CAN Channel and Configure Properties

Call get on the CAN channel object to obtain the properties of the configured CAN channel.

Configure a CAN channel and get channel properties:

canch = canChannel('Vector','CANCaseXL 1',1)
get (canch)

Get Message Properties

Call get on the message object to obtain the properties of the configured message.

Configure a CAN message:

message = canMessage(250, true, 8)

Get message properties:

get (message)

Get Database Properties

Attach a CAN database and obtain the properties of the configured database.

Configure a CAN database:

candb = canDatabase('C:\Database.dbc')

Get database properties

get (candb)
Was this topic helpful?