MATLAB Link for Code Composer Studio Development Tools    

Closing the Links or Cleaning Up CCS IDE

Objects that you create in MATLAB Link for Code Composer Studio have COM handles to CCS. Until you delete these handles, the CCS process (cc_app.exe in the Task Manager) remains in memory. Closing MATLAB removes these COM handles automatically, but there may be times when it helps to delete the handles manually, without quitting MATLAB. Use clear to remove objects from your MATLAB workspace and to delete any handles they contain. clear all deletes everything in your workspace. When you need to retain your MATLAB data while deleting objects and handles, use clear objname. Note that this applies both to objects your create with ccsdsp and createobj. To clean up the objects created during the tutorial, the tutorial program enters

at the prompt.

One more bit of clean up that this tutorial does is to close the project in CCS with the command

Finally, to delete your link to Code Composer, use clear cc.

Your development tutorial using CCS IDE is done.

During the tutorial you:

  1. Selected your target.
  2. Created and queried links to CCS IDE to get information about the link and the target.
  3. Used MATLAB to load files into CCS IDE, and used MATLAB to run that file.
  4. Worked with your CCS IDE project from MATLAB by reading and writing data to your target, and changing the data from MATLAB.
  5. Created and used the embedded objects to manipulate data in a C-like way.
  6. Closed the links you opened to CCS IDE.

In future development work with your signal processing applications you follow the same set of tasks. Thus the tutorial provided here gives you a working process for using the MATLAB Link for Code Composer Studio and your signal processing programs to develop programs for a range of Texas Instruments digital signal processors. While the target may change, and the program will change, the essentials of the process remain the same, as do the functions you use to interact with the processor and CCS IDE.


  Working with Embedded Objects Tutorial 2-2--Using Links for RTDX