MATLAB Link for Code Composer Studio Development Tools | ![]() ![]() |
Create MATLAB objects that represent embedded data or functions in a program on your target
Syntax
Description
objname = createobj(cc,'symbolname')
makes an object in your MATLAB workspace named objname
. Your new object contains information about the program symbol defined by symbolname
. To work, you must have loaded a .out
file to your target in CCS, and the symbol must be in the current symbol table in CCS.
To increase the accuracy of the information about global symbols in your project, use goto
, as shown here, to position the program counter to the start of main in your application in CCS.
Note that symbolname
can be the name of a function in your target code. Thus, symbolname
can refer to data or a function present on the target.
symbolname
can be either a static variable or a global variable.
objname = createobj(cc,'symbolname','
lets you declare whether option
')
symbolname
represents a static or global variable. Use either of the following strings to declare the type for symbolname in option:
static
--declares that symbolname
refers to a static variable in your code
global
--declares that symbolname
refers to a global variable in your code
See Also
![]() | copy | delete | ![]() |