MATLAB Link for Code Composer Studio Development Tools    
createobj

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','option') lets you declare whether symbolname represents a static or global variable. Use either of the following strings to declare the type for symbolname in option:

See Also

copy, ccsdsp


  copy delete