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.

DCA1000EVM: problem in displaying the response on matlab of the iwr1443boost sensor used to

Part Number: DCA1000EVM

Hi,

Good Day. I have a customer who is working with DCA1000EVM. Please see below his query for your reference. Thank you very much.

I used the iwr1443boost sensor together with the dca1000emv for sampling.

I would need to obtain the .mat files relating to the variables represented in the graphs saved by the Matlab / TI software.

I have already read following guide: https://www.ti.com/lit/an/swra581b/swra581b.pdf I used the code on page 15, but an error occurs that I cannot resolve.
I am attaching an image to show the error.




I would like to know how to solve this error and if it is possible to obtain the .mat files related to the variables of the sensor response graphs.

Best Regards,
Ray Vincent
  • HI, 

    Basically, this whole script is the definition of readDCA1000 function. You can comment out this function and provide the fileName.  Or you can save this script as a function, and use the function call.    

    If you are not familiar with MATLAB, you can use the function in the radar studio package.  C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\MatlabExamples\singlechip_raw_data_reader_example

    Best,

    Zigang

  • Hi Zigang,

    Good Day. Please see below the response of our customer to your reply. Thank you very much.

    As you advised, I created a function containing the script for reading the DCA1000 response, and I am using the function call.

    The problem in question seems solved, but it is not possible for me to view the .mat files containing the variables contained in the graphs of the Matlab / TI software.

    I am attaching two images of the problem, containing the creation of the script function, and also the call of the function in the command window, where the error appears.

    Best Regards,

    Ray Vincent

  • HI, 

    These are basic MATLAB usage problem. 

    1) In your function definition, parameter filename should be fileName to match with the code below.

    2) when you call this function, the filename adc_data.bin needs to be in string format like 'adc_data.bin'

    Best,

    Zigang

  • Hi Zigang,

    Good day. Please see another query from the customer. Thank you very much.

    I made the corrections and the called function worked.

    It doesn't allow me to view the results though, as the warning comes out: Cannot display summaries of variables with more than 524288 elements.

    Could it be an error in the read cycle or are there so many variables? is it possible to visualize them in some way?
    I am attaching a screenshot of that warning.

    Best Regards,

    Ray Vincent

  • HI, Ray:

    You can just typing the variable name in the command window to see the whole thing, or just typing retVal(1:4, 1:100) with index to display part of it. 

    Best,

    Zigang