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.

Write to register using matlab

Our lab in themaster course Adaptive signal processing was created in previous versions of CCS and matlab. Since the rtdx support have been removed in more recent verisons of matlab, we need to update the lab.

We want to use Matlab to change variables during runtime using C6713 and CCS 3.3. The command "IDE_obj.regwrite" in matlab can be used for this purpose. However, this requires that the variables are stored in the registers, e.g. A4. Is there any support for storing variables in a specific register in CCS 3.3?

The lab is based on the example project pip_audio.pjt which has been available from spectrumdigital.com.  

  • Frida,

    Sometimes variables will be stored in registers, sometimes not.  It is going to depend on the optimization that is done.  However Matlab also has APIs for writing to memory locations.  You should use those instead of the register write API.

    The MathWorks should be able to assist you with their APIs.

     

    Regards,

    John