n-D dynamic lookup tables

6 次查看(过去 30 天)
I would like to make a Simulink block that includes an N-D Table Lookup block, and have that blocks 'table' and 'breakpoints' values set from input ports of the containing block. Is that possible?
Currently I set the lookup table table and breakpoint values from workspace variables, referenced by name. I can change the table and breakpoint values by operations in the (Base) workspace. I would like my model to compute a new table/breakpoint set and use those values in the lookup table block, but without involving the Base workspace at all - that is, to treat the table and breakpoint values as N-D and vector signals in the model.

采纳的回答

MathWorks Support Team
As of R2020b, the “n-D Lookup Table” block has been enhanced to accept breakpoints and table parameters via input ports as well as the block dialog. This allows you to easily create dynamic, multidimensional lookup tables by passing parameters in as signals for up to three dimensions.
Refer to the following MATLAB Answers article for workarounds in older releases:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Nonlinearity 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by