Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:eval:user-guides:matlab_bsp_extend [02 May 2019 01:36] – More example Travis Collinsresources:eval:user-guides:matlab_bsp_extend [02 May 2019 01:37] (current) – add headings Travis Collins
Line 5: Line 5:
 The MATLAB and Simulink interfaces can be extended in two ways. The MATLAB and Simulink interfaces can be extended in two ways.
  
 +==== Directly Addressing Attributes ====
 1. Directly address properties through the underlying libIIO API calls. By default the AD9361 receiver interfaces only provide or control the following properties: 1. Directly address properties through the underlying libIIO API calls. By default the AD9361 receiver interfaces only provide or control the following properties:
 <code> <code>
Line 30: Line 30:
 </code> </code>
  
 +==== Adding MATLAB Properties For Attributes ====
 2. If additional APIs are needed for a device, and that code will be used by others, then it is recommended to add an actual property to the class. This can provide additional documentation as well as range checking. Below the [[https://github.com/analogdevicesinc/MathWorks_tools/blob/master/%2Badi/%2BAD9361/Rx.m|Rx]] class is modified to allow to selection of the RF port attribute of the transceiver. This is done by inserting the following: 2. If additional APIs are needed for a device, and that code will be used by others, then it is recommended to add an actual property to the class. This can provide additional documentation as well as range checking. Below the [[https://github.com/analogdevicesinc/MathWorks_tools/blob/master/%2Badi/%2BAD9361/Rx.m|Rx]] class is modified to allow to selection of the RF port attribute of the transceiver. This is done by inserting the following:
 <code> <code>
resources/eval/user-guides/matlab_bsp_extend.txt · Last modified: 02 May 2019 01:37 by Travis Collins