Error while running "NR NTN PDSCH Throughput" example.
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Taufiq
el 22 de Nov. de 2024 a las 10:37
Comentada: Jacob Mathew
el 25 de Nov. de 2024 a las 5:31
Hi,
I'm following the example code in "https://www.mathworks.com/help/satcom/ug/nr-ntn-pdsch-throughput.html"
I keep receiving the error
>> NTN_Network_Test2
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error in NTN_Network_Test2 (line 549)
harqEntity{harqId} = HARQEntity(harqSequence(harqId),rvSeq,pdsch.NumCodewords);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm using MATLAB R2024b, I've installed 5G Toolbox version 24.2 and Satellite Communications Toolbox version 24.2
I've also attached my code for reference.
Thank you kindly for any help!
3 comentarios
Jacob Mathew
el 25 de Nov. de 2024 a las 5:31
Hey Taufiq,
Since the example folder has a class file called HarqEntity the properties referenced from it might have been set to Not a Number (NaN) value which could result in the error of the array index values being invalid.
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support for MinGW-w64 C/C++ Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!