MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Overloaded Functions for Links
Several functions in this MATLAB Link for Code Composer Studio have the same name as functions in other MathWorks toolboxes or in MATLAB. These behave similarly to their original counterparts, but you apply these functions directly to an object. This concept of having functions with the same name operate on different types of objects (or on data) is called overloading of functions.
For example, the set
command is overloaded for links (link objects). Once you specify your link by assigning values to its properties, you can apply the functions in this toolbox (such as readmat
for using RTDX to read an array of data from the target processor) directly to the variable name you assign to your link, without having to specify your link parameters again.
For a complete list of the functions that act on links, refer to the tables of functions in the function reference pages.
![]() | Direct Property Referencing to Set and Get Values | Link Properties | ![]() |