Can't run "demo_4antennas_video.m" with error message

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't run "demo_4antennas_video.m" with error message

286 Views
NXP Employee
NXP Employee

Dear team,

After followed all installation guide including RSDK, I tried to run the example code, "demo_4antennas_video.m".

However, I've encountered error message below.

>> demo_4antennas_video

---Generate input data.

---Running Range FFT.

Not enough input arguments.

Error in rangeFFT (line 181) shft_val = shiftOutput; % Shift value - signed 6-bit number

Error in demo_4antennas_video (line 81)

output_rangeFFT_bitexact = rangeFFT(input_data_rs * 2^(NBITS-1), window_rangeFFT_rs * 2^(NBITS-1), twiddle_rangeFFT * 2^(NBITS-1), M, N, P);

Based on error msg, I guess we need to configure the input parameters correctly, especially for rangeFFT();

I'm using RSDK 0.9.0 beta version now.

Could you suggest the solution for this issue?

Thank you

BR

Justin

0 Kudos
2 Replies

18 Views
NXP Employee
NXP Employee

Hi Justin,

The demo was done for an older version of radar SDK. I attached a new version of the 'demo_4antennas_video' script.

Regards,

Iulian

0 Kudos

18 Views
NXP Employee
NXP Employee

Hello, Lulian

Thanks for your feedback.

Could verified it worked well with the updated script.

Thank you

BR

Justin