2D Lookup Table Block in Simulink Resulting in Error: Invalid setting for parameter 'Breakpoin​tsForDimen​sion1'

8 Ansichten (letzte 30 Tage)
Hi. I am trying to figure out how to use a 2D lookup table in Simulink. So I created the following arbitrary table:
Data:
Breakpoint1:
Breakpoint2:
And when I try to use the Lookup Table block in Simulink, it gives me the following error:
I would appreciate it if someone could help me fix the error.

Akzeptierte Antwort

madhan ravi
madhan ravi am 30 Dez. 2023
Bearbeitet: madhan ravi am 30 Dez. 2023
table_data = yourdata; % should be an array not a table
breakpoints1 = (1 : 5).'; % should be an array not a table
breakpoints2 = 1 : 5; % should be an array not a table
  1 Kommentar
madhan ravi
madhan ravi am 30 Dez. 2023
your datas are in table() form convert them to array format by doing
table_data{:, :}
breakpoints1{:, :}
breakpoints2{:, :}
in the respective dialog boxes

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Nonlinearity finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by