Is there a method of converting a Simulink model directly into a CCS project so that the code can be modified in CCS

1 view (last 30 days)
Is there a method of generating a CCS project file from Simulink which can be directly imported into CCS to modify the code? I can find the .c, .h, .out files which are generated from Embedded Coder but adding them to a CCS project manually gives a lot of linking errors. So is there a method of generating a file that can be directly imported into the TI CCS environment?

Accepted Answer

Srijith Vijay
Srijith Vijay on 9 Jan 2017
As of now, there is no direct way to do this. You can manually create a project in CCS and then manually link/add the source files and other linker and compiler dependencies in the linker and compiler options section of this CCS project, respectively.
This information is available in the .mk (makefile) generated along with the code. This will create a project file which you can later use.
The 'Import from Makefile' option in CCS may have a lot of dependency errors.
Our developers are aware of this and will be incorporating this feature to directly import a CCS project in one of the future releases of MATLAB.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!