Simulink lookup indexing exceeding size on F28388

19 ビュー (過去 30 日間)
Jesús
Jesús 約12時間 前
Hello guys,
I'm working with a large table data and I want to use it on the F28388.
I get the following error:
Error:'Laboratorio_F28388/Main System/Control System1/Torque Controller/2-D Lookup Table1' uses a matrix with 64516 elements, which is larger than the maximum value of 'int' for the specified target.
The F28388 has a C28x 32bit CPU, but it's only using 16bit for addressing.
There are any solution that can access more elements?
I appreciate anybody who can help me to sort out this issue. Thanks in advance.
Regards,
Jesús
  5 件のコメント
Jesús
Jesús 約2時間 前
@Fangjun Jiang yeah, i'm looking for an option to change the index type
Fangjun Jiang
Fangjun Jiang 約2時間 前
This post mentioned that "You can use pointer arithmetic with negative values, hence an array index can be negative."

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by