This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:eval:user-guides:matlab_bsp_extend [02 May 2019 01:36] – More example Travis Collins | resources: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: | ||
< | < | ||
Line 30: | Line 30: | ||
</ | </ | ||
+ | ==== 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:// | 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:// | ||
< | < |