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

조회 수: 6 (최근 30일)
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.

채택된 답변

madhan ravi
madhan ravi 2023년 12월 30일
편집: madhan ravi 2023년 12월 30일
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
madhan ravi
madhan ravi 2023년 12월 30일
your datas are in table() form convert them to array format by doing
table_data{:, :}
breakpoints1{:, :}
breakpoints2{:, :}
in the respective dialog boxes

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinearity에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by