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

4 次查看(过去 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