This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28379D: Import simulink code into code composer

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

hi to all,

               Im using Matlab 2020a in Linux and as TI C2000 target support is not working on Linux, I want to know How can I import simulink code into CCS10. I already had a S-Functin Builder with library using headers from tms320f28379D. I generate C code from simulink and I have the wrapper.c,tlc and mexa64 files. I really don't know how to use this files to import into CCS10.

Its possible? If it is, can you point me to a reference so I can read about it?

Thanks

Gastón

  • Hello Gaston,

    CCS projects are automatically created in Windows with the MathWorks C2000 Support Package.

    But for Linux, you will have to do this manually. It should be possible, but I don't know if there is an example you can follow. The basic idea is to get an example working in CCS, and then swap out the algorithm in the CCS example for one created via MathWorks code generation. The basic process is something like this:

    1) Get example working CCS

    2) Generate code for your algorithm in MathWorks tools

    3) Go into the MathWorks codegeneration folder and copy over needed *.c and *h files to CCS project folder

    4) In CCS, manually integrate new *.c file(s) into your project, and run from CCS.

    If you need additional help for this, you can contact MathWorks Tech Support.

    Note: There may be pieces of the workflow mentioned here that are still valid, YMMV.

    Cheers,

    -Brian

  • Hello Brian,

                      I know that ide_link is deprecated right now, but is there an alternative to programmatically link CCS with Matlab?

    Thanks

    Gaston

  • Hi Gaston,

    The IDE-Link really only worked with CCSv3.3, and it was deprecated as few people use CCSv3.3 any longer. There are no plans to add similar functionality in the future; we are largely focusing on adding features to support new functionality and peripherals on C2000 devices, including multi-core capabilities.

    It is likely possible you can write scripts in MATLAB or CCS to control the other program; but this would be at your discretion - we have no recipes/examples for this with CCS. If this is a serious inquiry, please send me a DM and I can connect you with MathWorks Consulting for scope / budget discussions.

    Cheers,

    -Brian

  • How can I send you a Direct Message?