MATLAB Link for Code Composer Studio Development Tools    

Direct Property Referencing to Set and Get Values

You can reference directly into a property for setting or retrieving property values using MATLAB structure-like referencing. Do this by using a period to index into an object property by name.

Example--Direct Property Referencing in Links

  1. Create a link with default values.
  2. Change its timeout and number of open channels.

Notice that you do not have to type the full name of the timeout property name, and you can use lower case to refer to the property name.

To retrieve property values, you can use direct property referencing.


  Retrieving Properties with get Overloaded Functions for Links