Skip to Main Content Skip to Search
Product Documentation

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

Configure a CAN channel:

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

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

get (canch)

Configure a CAN message:

	message = canMessage(250, true, 8)

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

get (message)

Configure a CAN database:

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

call get on the database to obtain the properties of the configured database:

get (candb)
  


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