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 new project ".out" file

Hello,

Is it possible to know the main files that should be added to the new CCS project?

I generated a C code from Simulink Embedded Coder and have a full project folder. I would like to integrate that project into a CCS Project.


Actually I tried the option of "Import an existing Project" but I couldn't build it because I don't have the ".out" file! So, how can I create it?

Many Thanks in advance


Kind Regards

  • Hello,

    Ah El said:
    I generated a C code from Simulink Embedded Coder and have a full project folder.

    What kind of project folder is this? Is it a legitimate CCS Eclipse project folder? if it is, then you should be able to import it into CCS

    Ah El said:
    Actually I tried the option of "Import an existing Project" but I couldn't build it because I don't have the ".out" file! So, how can I create it?

    The error is a bit odd since a *.out is what is generated from a project build. You create a project so you can build the *.out file. What it sounds like it happened is that you pressed the "Debug" button to build/debug your project and the build failed so no *.out file got generated and when the debugger was auto-launched, there was no *.out file to debug - hence the error message. If you can provide the build output messages and maybe a screenshot of CCS with the error, I can give a better answer.

    Thanks

    ki

  • Hi,

    One way to do this would be to create a new project in CCS and to manually add all the source files, header files, compiler and linker flags, compiler and linker defines to this CCS Project.

    The make file generated by Simulink during code generation has the paths to all the source files and header files that have to be added to the CCS project. It also has all the compiler and linker defines and also the compiler and linker flags that can be added in the 'Compiler options' and 'Linker Options' of the CCS Project.

    After doing this, you can build the project to create the '.out' file

    ~ Srijith
  • The info I have matches what Srijith said.

    MathWorks is working on better options to create the CCS project, but that is still in development and I don't know when it will be available to customers.

    -Brian