| MATLAB Link for Code Composer Studio Development Tools | ![]() |
Transfer a program file (*.out, *.obj) to the target processor
Syntax
Description
load(cc,' loads the file specified by filename',timeout)
filename into the target processor. filename can include a full path to a file, or just the name of a file that resides in the Code Composer Studio (CCS) working directory. Use cd to check or modify the working directory. Only use load with program files that are created by the Code Composer Studio build process.
timeout defines the upper limit on how long MATLAB waits for the load process to be complete. If this period is exceeded, load returns immediately with a timeout error.
load(cc,' loads the file specified by filename')
filename into the target processor. filename can include a full path to a file, or just the name of a file that resides in the Code Composer Studio (CCS) working directory. Use cd to check or modify the working directory. Only use load with program files that are created by the Code Composer Studio build process. timeout defaults to the global value you set when you created link cc.
Examples
Taken from the CCS link tutorial, this code prepares for and loads an object file filename.out to a target processor.
projfile =... fullfile(matlabroot,'directoryname','directoryname','filename') projpath = fileparts(projfile) open(cc,projfile) % Open project file cd(cc,projpath) % Change Code Composer working directory
Now use CCS IDE to build your file. Select Project->Build from the menu bar in CCS IDE.
With the project build complete, load your .out file by typing
| list | msgcount | ![]() |