n-D dynamic lookup tables
7 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 9 月 16 日
回答済み: MathWorks Support Team
2020 年 9 月 16 日
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
2020 年 9 月 16 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinearity についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!