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.

CCStudio: Copying hex values generated in matlab

Other Parts Discussed in Thread: CCSTUDIO

I am trying to generate sine wave by table look-up method. I am using MatLab to write the hex values into the header file 'sinevalues.h'. But the hex values generated in matlab are generated without '0x' appended to the values which will not be recognized by c-program in ccstudio. Is there anyway to make this work?

  • Hi Deepak,

    Are you editing the file in CCS?  How about to edit by Edit -> Find/Replace... by the following direction?

    But it depends on text format which contains the hex values.

    If you are interested in the ^(.) or 0x\1, please Google 'regular expression' and also find the following URL.

    • http://www.eclipse.org/tptp/home/downloads/installguide/gla_42/ref/rregexp.html

    Regards,
    Atsushi