trying to use look up table dynamic but get an error "breakpoint and table port dimensions must be specified, they cannot be back-inherited." how do I do this

조회 수: 5 (최근 30일)
Full error message is
In block 'extrapolating/Lookup
Table
Dynamic', breakpoint and table port dimensions must be specified, they cannot be back-inherited. Recommendation: specify breakpoint port or table port dimensions using upstream blocks.
Suggested Actions
Enable 'warning' or 'error' diagnostics for the list of underspecified signal dimensions.
So i needed to process the transmission output of some glass,and used look up table dynamic to get the data sheet values on a standard wavelength scale
x= 290:10:1400; %wavelength scale I would like
xdata= 350:25:1300; %wavelength scale I have ish, the issue is it's a non uniform set
ydata %are the percent transmission for each wavelegth

답변 (1개)

Satwik
Satwik 2025년 7월 18일
Hi @Alia,
From the error message, it appears that Simulink is unable to determine the dimensions of the input parameters to the Lookup Table Dynamic block. To resolve this issue, I recommend inserting a 'Signal Specification' block before each of the inputs and specifying their respective dimensions in the Signal Specification block dialog parameter 'Dimensions'.
Kindly refer to the following MathWorks documentation for detailed information about the 'Signal Specification' block: https://www.mathworks.com/help/releases/R2024a/simulink/slref/signalspecification.html
I hope this helps!

카테고리

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

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by