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.

Importing/Exporting data in CCS v5.5

How can I use data(elements) from excel sheet/.mat file as an input to the code in ccs v5.5?

I have sample data generated from Matlab in a .mat form(which can be easily converted in an excel sheet).I want to test my code on this data in the CCS. How can the data be imported and accessed element-wise?

  • Hi Rahul,

    I would suggest converting the file to a binary or *.dat format and then using the Memory Load feature to load the data to target memory.

    For more information, see the CCS Help that comes with CCS (Help -> Help Contents). Search for "Memory Load".

    Hope this helps,

    ki

  • Thanks Ki for the reply.

    I found another way around it.

    But now I am facing a new problem.After I build the project and debug it, an error message pops up saying that

    "Could not load the .out File"

    I checked that there was no Binaries folder created in the workspace despite successful build. How can I troubleshoot this?

    Rahul. 

  • Rahul Srivastava said:

    "Could not load the .out File"

    I checked that there was no Binaries folder created in the workspace despite successful build. How can I troubleshoot this?

    If no out file was generated, the build failed. Or the out file was moved. Check your build messages in the build console. It should provide some clues as to what happened.

  • Hi Rahul,

    Can you tell me how you loaded the data generated by matlab in .dat fie to CCS. I need help. I have data in .dat file generated by matlab and I need to use it in CCS