About the reading the csv file from XILINX

2 visualizaciones (últimos 30 días)
Mevlut K
Mevlut K el 25 de Dic. de 2020
Respondida: Gouri Chennuru el 27 de Dic. de 2020
Hi
I always see this error " index exceeds matrix dimensions".
I cannot fix it. I tried too many variations but nothing.
I send 2 screenshots from the problem
I will be very happy, if you help me :)
Best regards, MK

Respuestas (1)

Gouri Chennuru
Gouri Chennuru el 27 de Dic. de 2020
Hi,
This issue occurs when You are attempting to reference a nonexistent element of an array.
As a workaround, Stop MATLAB on the line where the error occurs. Verify that the size of the array into which you are referencing is large enough so that the index you are using falls before the last element of the array. One way to do this is to check the Workspace Browser. Verify that the variable was correctly created at each of the previous lines, starting with the most recent, where it appeared on the left side of an assignment statement.
Hope this helps!

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by